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