com.jme3.font
Class Rectangle

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

public class Rectangle
extends java.lang.Object
implements java.lang.Cloneable

Defines a rectangle that can constrict a text paragraph.


Field Summary
 float height
           
 float width
           
 float x
           
 float y
           
 
Constructor Summary
Rectangle(float x, float y, float width, float height)
           
 
Method Summary
 Rectangle clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public final float x

y

public final float y

width

public final float width

height

public final float height
Constructor Detail

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 Detail

clone

public Rectangle clone()
Overrides:
clone in class java.lang.Object