net.sourceforge.plantuml.posimo
Class Block
java.lang.Object
net.sourceforge.plantuml.posimo.Block
- All Implemented Interfaces:
- Clusterable, Moveable, Positionable
public class Block
- extends Object
- implements Clusterable
Constructor Summary |
Block(int uid,
double width,
double height,
Cluster parent)
|
Block
public Block(int uid,
double width,
double height,
Cluster parent)
toString
public String toString()
- Overrides:
toString
in class Object
toStringPosition
public String toStringPosition()
getUid
public int getUid()
getParent
public Cluster getParent()
- Specified by:
getParent
in interface Clusterable
getPosition
public Point2D getPosition()
- Specified by:
getPosition
in interface Positionable
getSize
public Dimension2D getSize()
- Specified by:
getSize
in interface Positionable
setCenterX
public void setCenterX(double center)
setCenterY
public void setCenterY(double center)
setX
public final void setX(double x)
setY
public final void setY(double y)
moveSvek
public void moveSvek(double deltaX,
double deltaY)
- Specified by:
moveSvek
in interface Moveable
Copyright © 2013. All Rights Reserved.