net.sourceforge.plantuml.svek
Class Shape

java.lang.Object
  extended by net.sourceforge.plantuml.svek.Shape
All Implemented Interfaces:
Hideable, Moveable, Positionable, IShapePseudo

public class Shape
extends Object
implements Positionable, IShapePseudo, Hideable


Constructor Summary
Shape(IEntityImage image, ShapeType type, double width, double height, ColorSequence colorSequence, boolean top, int shield, List<Url> urls, EntityPosition entityPosition)
           
 
Method Summary
 void appendShape(StringBuilder sb)
           
 Cluster getCluster()
           
 ClusterPosition getClusterPosition()
           
 EntityPosition getEntityPosition()
           
 double getHeight()
           
 IEntityImage getImage()
           
 double getMaxWidthFromLabelForEntryExit(StringBounder stringBounder)
           
 double getMinX()
           
 double getMinY()
           
 Point2D getPosition()
           
 Dimension2D getSize()
           
 ShapeType getType()
           
 String getUid()
           
 double getWidth()
           
 boolean isHidden()
           
 boolean isShielded()
           
 boolean isTop()
           
 void moveSvek(double deltaX, double deltaY)
           
 void setCluster(Cluster cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape

public Shape(IEntityImage image,
             ShapeType type,
             double width,
             double height,
             ColorSequence colorSequence,
             boolean top,
             int shield,
             List<Url> urls,
             EntityPosition entityPosition)
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)
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.