Package com.jme3.font

Class Rectangle

java.lang.Object
com.jme3.font.Rectangle
All Implemented Interfaces:
Cloneable

public class Rectangle extends Object implements Cloneable
Defines a rectangle that can constrict a text paragraph.
  • Field Details

    • x

      public final float x
    • y

      public final float y
    • width

      public final float width
    • height

      public final float height
  • Constructor Details

    • Rectangle

      public Rectangle(float x, float y, float width, float height)
      Parameters:
      x - the X value of the upper left corner of the rectangle
      y - the Y value of the upper left corner of the rectangle
      width - the width of the rectangle
      height - the height of the rectangle
  • Method Details