Class SvekNode
java.lang.Object
net.sourceforge.plantuml.svek.SvekNode
- All Implemented Interfaces:
Hideable, XNode, Moveable, Positionable
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddImpact(double angle) voidappendShape(StringBuilder sb, StringBounder stringBounder) voidvoidfinal Clusterfinal doublegetImage()/ final ClusterPosition clusterPosition = new ClusterPosition(minX, minY, minX + getWidth(), minY + getHeight()); / if (clusterPosition.isPointJustUpper(pt)) { / final XDimension2D dimName = ((EntityImageDescription) image).getNameDimension(stringBounder); / if (pt.getX() < minX + dimName.getWidth()) / return pt; / / return new XPoint2D(pt.getX(), pt.getY() + dimName.getHeight() + 4); / }final doublegetMinX()final doublegetMinY()doublegetOverscanX(StringBounder stringBounder) getPoint2D(double x, double y) getSize()final Togetherfinal ShapeTypegetType()final StringgetUid()final doublegetWidth()booleanisHidden()booleanvoidmoveDelta(double deltaX, double deltaY) voidfinal voidsetCluster(Cluster cluster) voidsetPolygon(double minX, double minY, List<XPoint2D> points) toString()
-
Method Details
-
getEntityPosition
-
getCluster
-
setCluster
-
toString
-
getTogether
-
getType
-
getWidth
public final double getWidth() -
getHeight
public final double getHeight() -
appendShape
-
getUid
-
getMinX
public final double getMinX() -
getMinY
public final double getMinY() -
getImage
-
getPosition
- Specified by:
getPositionin interfacePositionable
-
getSize
- Specified by:
getSizein interfacePositionable
-
getRectangleArea
-
isShielded
public boolean isShielded() -
resetMove
public void resetMove() -
moveDelta
-
isHidden
-
setPolygon
-
getPolygon
-
getPoint2D
-
getOverscanX
-
addImpact
public void addImpact(double angle) -
drawKals
-
fixOverlap
public void fixOverlap() -
getMagneticBorder
/ final ClusterPosition clusterPosition = new ClusterPosition(minX, minY, minX + getWidth(), minY + getHeight()); / if (clusterPosition.isPointJustUpper(pt)) { / final XDimension2D dimName = ((EntityImageDescription) image).getNameDimension(stringBounder); / if (pt.getX() < minX + dimName.getWidth()) / return pt; / / return new XPoint2D(pt.getX(), pt.getY() + dimName.getHeight() + 4); / }
-