net.sourceforge.plantuml.svek
Class Shape
java.lang.Object
net.sourceforge.plantuml.svek.Shape
- All Implemented Interfaces:
- Hideable, Moveable, Positionable, IShapePseudo
public class Shape
- extends Object
- implements Positionable, IShapePseudo, Hideable
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,
List<Url> urls,
EntityPosition entityPosition)
getEntityPosition
public EntityPosition getEntityPosition()
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)
- Specified by:
appendShape
in interface IShapePseudo
getUid
public final String getUid()
- Specified by:
getUid
in interface IShapePseudo
getMinX
public final double getMinX()
getMinY
public final double getMinY()
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
getClusterPosition
public ClusterPosition getClusterPosition()
isShielded
public boolean isShielded()
moveSvek
public void moveSvek(double deltaX,
double deltaY)
- Specified by:
moveSvek
in interface Moveable
getMaxWidthFromLabelForEntryExit
public double getMaxWidthFromLabelForEntryExit(StringBounder stringBounder)
isHidden
public boolean isHidden()
- Specified by:
isHidden
in interface Hideable
Copyright © 2013. All Rights Reserved.