Class TextRect

All Implemented Interfaces:
RMPropertyChanger, Cloneable
Direct Known Subclasses:
Text, TextLine, TextToken

public class TextRect extends RMObject
A base class for text classes that have location and size.
  • 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.