net.sourceforge.plantuml.posimo
Class Label

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.awt.geom.Point2D getPosition()
           
 java.awt.geom.Dimension2D getSize()
           
 void setCenterX(double center)
           
 void setCenterY(double center)
           
 void setHeight(double height)
           
 void setWidth(double width)
           
 void setX(double x)
           
 void setY(double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label(double width,
             double height)
Method Detail

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.