Package net.sourceforge.plantuml.posimo
Class Label
java.lang.Object
net.sourceforge.plantuml.posimo.Label
- All Implemented Interfaces:
Moveable
,Positionable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.awt.geom.Point2D
getSize()
void
moveSvek
(double deltaX, double deltaY) final void
setCenterX
(double center) final void
setCenterY
(double center) final void
setHeight
(double height) final void
setWidth
(double width) final void
setX
(double x) final void
setY
(double y) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Label
public Label(double width, double height)
-
-
Method Details
-
setCenterX
public final void setCenterX(double center) -
setCenterY
public final void setCenterY(double center) -
getPosition
public java.awt.geom.Point2D getPosition()- Specified by:
getPosition
in interfacePositionable
-
getSize
- Specified by:
getSize
in interfacePositionable
-
setWidth
public final void setWidth(double width) -
setHeight
public final void setHeight(double height) -
setX
public final void setX(double x) -
setY
public final void setY(double y) -
moveSvek
public void moveSvek(double deltaX, double deltaY)
-