| java.lang.Object | ||
| ↳ | casmi.graphics.element.Element | |
| ↳ | casmi.graphics.element.RoundRect | |
RoundRect class. Wrap JOGL and make it easy to use.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RoundRect.ShapeMode | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new RoundRect object using position of the upper-left corner, width and height.
| |||||||||||
Creates a new RoundRect object using width and height.
| |||||||||||
Creates a new RoundRect object using radius, width and height.
| |||||||||||
Creates a new RoundRect object using radius, position of the upper-left corner, width and
height.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets height of this RoundRect.
| |||||||||||
Gets the precision of the corner arc.
| |||||||||||
Gets the radius of the corner of this RoundRect.
| |||||||||||
Gets width of this RoundRect.
| |||||||||||
Align the position of this RoundRect
| |||||||||||
Sets height of this RoundRect
| |||||||||||
Sets the precision of the corner arc.
| |||||||||||
Sets the radius of the corner of this RoundRect.
| |||||||||||
Sets width of this RoundRect.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.object.Renderable
| |||||||||||
From interface
casmi.graphics.object.Resettable
| |||||||||||
Creates a new RoundRect object using position of the upper-left corner, width and height.
| x | The x-coordinate of the upper-left corner. |
|---|---|
| y | The y-coordinate of the upper-left corner. |
| width | The width of the rectangle. |
| height | The height of the rectangle. |
Creates a new RoundRect object using width and height.
| width | The width of the rectangle. |
|---|---|
| height | The height of the rectangle. |
Creates a new RoundRect object using radius, width and height.
| radius | The radius of the corner. |
|---|---|
| width | The width of the rectangle. |
| height | The height of the rectangle. |
Creates a new RoundRect object using radius, position of the upper-left corner, width and height.
| radius | The radius of the corner. |
|---|---|
| x | The x-coordinate of the upper-left corner. |
| y | The y-coordinate of the upper-left corner. |
| width | The width of the rectangle. |
| height | The height of the rectangle. |
Gets height of this RoundRect.
Gets the precision of the corner arc.
Gets the radius of the corner of this RoundRect.
Gets width of this RoundRect.
Align the position of this RoundRect
| mode | The Alignment of the position. |
|---|
Sets height of this RoundRect
| height | The height of the RoundRect. |
|---|
Sets the precision of the corner arc.
| precision | The precision of the corner. |
|---|
Sets the radius of the corner of this RoundRect.
| radius | The radius of the corner. |
|---|
Sets width of this RoundRect.
| width | The width of the RoundRect. |
|---|