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 java.lang.Object implements Positionable, Hideable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImpact(double angle)voidappendShape(java.lang.StringBuilder sb, StringBounder stringBounder)voiddrawKals(UGraphic ug)voidfixOverlap()ClustergetCluster()EntityPositiongetEntityPosition()doublegetHeight()IEntityImagegetImage()MagneticBordergetMagneticBorder()doublegetMinX()doublegetMinY()doublegetOverscanX(StringBounder stringBounder)XPoint2DgetPoint2D(double x, double y)ShadowablegetPolygon()XPoint2DgetPosition()RectangleAreagetRectangleArea()XDimension2DgetSize()TogethergetTogether()ShapeTypegetType()java.lang.StringgetUid()doublegetWidth()booleanisHidden()booleanisShielded()voidmoveSvek(double deltaX, double deltaY)voidresetMoveSvek()voidsetCluster(Cluster cluster)voidsetPolygon(double minX, double minY, java.util.List<XPoint2D> points)java.lang.StringtoString()
-
-
-
Method Detail
-
getEntityPosition
public EntityPosition getEntityPosition()
-
getCluster
public final Cluster getCluster()
-
setCluster
public final void setCluster(Cluster cluster)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getTogether
public final Together getTogether()
-
getType
public final ShapeType getType()
-
getWidth
public final double getWidth()
-
getHeight
public final double getHeight()
-
appendShape
public void appendShape(java.lang.StringBuilder sb, StringBounder stringBounder)
-
getUid
public final java.lang.String getUid()
-
getMinX
public final double getMinX()
-
getMinY
public final double getMinY()
-
getImage
public IEntityImage getImage()
-
getPosition
public XPoint2D getPosition()
- Specified by:
getPositionin interfacePositionable
-
getSize
public XDimension2D getSize()
- Specified by:
getSizein interfacePositionable
-
getRectangleArea
public RectangleArea getRectangleArea()
-
isShielded
public boolean isShielded()
-
resetMoveSvek
public void resetMoveSvek()
-
moveSvek
public void moveSvek(double deltaX, double deltaY)
-
setPolygon
public void setPolygon(double minX, double minY, java.util.List<XPoint2D> points)
-
getPolygon
public Shadowable getPolygon()
-
getPoint2D
public XPoint2D getPoint2D(double x, double y)
-
getOverscanX
public double getOverscanX(StringBounder stringBounder)
-
addImpact
public void addImpact(double angle)
-
drawKals
public void drawKals(UGraphic ug)
-
fixOverlap
public void fixOverlap()
-
getMagneticBorder
public MagneticBorder getMagneticBorder()
-
-