net.sourceforge.plantuml.posimo
Class Label
java.lang.Object
net.sourceforge.plantuml.posimo.Label
- All Implemented Interfaces:
- Positionable
public class Label
- extends java.lang.Object
- implements Positionable
Constructor Summary |
Label(double width,
double height)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Label
public Label(double width,
double height)
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 interface Positionable
getSize
public java.awt.geom.Dimension2D getSize()
- Specified by:
getSize
in interface Positionable
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)
Copyright © 2011. All Rights Reserved.