net.sourceforge.plantuml.svek
Class Shape

java.lang.Object
  extended by net.sourceforge.plantuml.svek.Shape
All Implemented Interfaces:
Moveable, Positionable

public class Shape
extends Object
implements Positionable


Constructor Summary
Shape(IEntityImage image, ShapeType type, double width, double height, ColorSequence colorSequence, boolean top, int shield)
           
 
Method Summary
 void appendShape(StringBuilder sb)
           
 Cluster getCluster()
           
 String getCoords(double deltaX, double deltaY)
           
 double getHeight()
           
 IEntityImage getImage()
           
 double getMinX()
           
 double getMinY()
           
 Point2D getPosition()
           
 Dimension2D getSize()
           
 ShapeType getType()
           
 String getUid()
           
 double getWidth()
           
 boolean isShielded()
           
 boolean isTop()
           
 void moveSvek(double deltaX, double deltaY)
           
static IEntityImage printEntity(IEntity ent, DotData dotData)
           
 void setCluster(Cluster cluster)
           
 void setMinX(double minX)
           
 void setMinY(double minY)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape

public Shape(IEntityImage image,
             ShapeType type,
             double width,
             double height,
             ColorSequence colorSequence,
             boolean top,
             int shield)
Method Detail

getCluster

public final Cluster getCluster()

setCluster

public final void setCluster(Cluster cluster)

getType

public final ShapeType getType()

getWidth

public final double getWidth()

getHeight

public final double getHeight()

appendShape

public void appendShape(StringBuilder sb)

getUid

public final String getUid()

getMinX

public final double getMinX()

setMinX

public final void setMinX(double minX)

getMinY

public final double getMinY()

setMinY

public final void setMinY(double minY)

getImage

public IEntityImage getImage()

isTop

public final boolean isTop()

getPosition

public Point2D getPosition()
Specified by:
getPosition in interface Positionable

getSize

public Dimension2D getSize()
Specified by:
getSize in interface Positionable

isShielded

public boolean isShielded()

getCoords

public String getCoords(double deltaX,
                        double deltaY)

moveSvek

public void moveSvek(double deltaX,
                     double deltaY)
Specified by:
moveSvek in interface Moveable

printEntity

public static IEntityImage printEntity(IEntity ent,
                                       DotData dotData)


Copyright © 2011. All Rights Reserved.