net.sourceforge.plantuml.svek
Class Shape
java.lang.Object
net.sourceforge.plantuml.svek.Shape
- All Implemented Interfaces:
- Moveable, Positionable
public class Shape
- extends Object
- implements Positionable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shape
public Shape(IEntityImage image,
ShapeType type,
double width,
double height,
ColorSequence colorSequence,
boolean top,
int shield)
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.