Package com.jme3.font
Class Rectangle
java.lang.Object
com.jme3.font.Rectangle
- All Implemented Interfaces:
Cloneable
Defines a rectangle that can constrict a text paragraph.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
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 rectangley
- the Y value of the upper left corner of the rectanglewidth
- the width of the rectangleheight
- the height of the rectangle
-
-
Method Details