Package net.sourceforge.plantuml.svek
Class SvekNode
- java.lang.Object
-
- net.sourceforge.plantuml.svek.SvekNode
-
- All Implemented Interfaces:
Hideable
,Moveable
,Positionable
public class SvekNode extends Object implements Positionable, Hideable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImpact(double angle)
void
appendShape(StringBuilder sb, StringBounder stringBounder)
void
drawKals(UGraphic ug)
void
fixOverlap()
Cluster
getCluster()
ClusterPosition
getClusterPosition()
EntityPosition
getEntityPosition()
double
getHeight()
IEntityImage
getImage()
double
getMinX()
double
getMinY()
double
getOverscanX(StringBounder stringBounder)
XPoint2D
getPoint2D(double x, double y)
Shadowable
getPolygon()
XPoint2D
getPosition()
XDimension2D
getSize()
ShapeType
getType()
String
getUid()
double
getWidth()
boolean
isHidden()
boolean
isShielded()
void
moveSvek(double deltaX, double deltaY)
XPoint2D
projection(XPoint2D pt, StringBounder stringBounder)
void
setCluster(Cluster cluster)
void
setPolygon(double minX, double minY, List<XPoint2D> points)
String
toString()
-
-
-
Method Detail
-
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, StringBounder stringBounder)
-
getUid
public final String getUid()
-
getMinX
public final double getMinX()
-
getMinY
public final double getMinY()
-
getImage
public IEntityImage getImage()
-
getPosition
public XPoint2D getPosition()
- Specified by:
getPosition
in interfacePositionable
-
getSize
public XDimension2D getSize()
- Specified by:
getSize
in interfacePositionable
-
getClusterPosition
public ClusterPosition getClusterPosition()
-
isShielded
public boolean isShielded()
-
moveSvek
public void moveSvek(double deltaX, double deltaY)
-
getPolygon
public Shadowable getPolygon()
-
getPoint2D
public XPoint2D getPoint2D(double x, double y)
-
projection
public XPoint2D projection(XPoint2D pt, StringBounder stringBounder)
-
getOverscanX
public double getOverscanX(StringBounder stringBounder)
-
addImpact
public void addImpact(double angle)
-
drawKals
public void drawKals(UGraphic ug)
-
fixOverlap
public void fixOverlap()
-
-