Class TextRect
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.snap.text.TextRect
- All Implemented Interfaces:
RMPropertyChanger,Cloneable
A base class for text classes that have location and size.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the height.doublegetMaxX()Returns the max X.doublegetMaxY()Returns the max Y.doublegetWidth()Returns the width.doublegetX()Returns the X location.doublegetY()Returns the Y location.voidsetHeight(double aHeight) Sets the height.voidsetRect(double anX, double aY, double aWidth, double aHeight) Sets the rect location and size.voidsetSize(double aWidth, double aHeight) Sets the rect size.voidsetWidth(double aWidth) Sets the width.voidsetX(double anX) Sets the X location.voidsetY(double aY) Sets the Y location.Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toStringMethods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
TextRect
public TextRect()
-
-
Method Details
-
getX
public double getX()Returns the X location. -
setX
public void setX(double anX) Sets the X location. -
getY
public double getY()Returns the Y location. -
setY
public void setY(double aY) Sets the Y location. -
getWidth
public double getWidth()Returns the width. -
setWidth
public void setWidth(double aWidth) Sets the width. -
getHeight
public double getHeight()Returns the height. -
setHeight
public void setHeight(double aHeight) Sets the height. -
setSize
public void setSize(double aWidth, double aHeight) Sets the rect size. -
setRect
public void setRect(double anX, double aY, double aWidth, double aHeight) Sets the rect location and size. -
getMaxX
public double getMaxX()Returns the max X. -
getMaxY
public double getMaxY()Returns the max Y.
-