| java.lang.Object | ||
| ↳ | casmi.graphics.element.Element | |
| ↳ | casmi.graphics.element.Lines | |
Lines class. Wrap JOGL and make it easy to use.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | LINES | ||||||||||
| int | LINES_3D | ||||||||||
| int | LINE_LOOP | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Lines object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the coordinates of the point.
| |||||||||||
Removes the point from Lines.
| |||||||||||
Sets the point's color for gradation.
| |||||||||||
Sets the point's color for gradation.
| |||||||||||
Sets the end point's color for gradation.
| |||||||||||
Sets the end point's color for gradation.
| |||||||||||
Sets the start point's color for gradation.
| |||||||||||
Sets the start point's color for gradation.
| |||||||||||
Sets the coordinates of the point.
| |||||||||||
Sets the coordinates of the point.
| |||||||||||
Adds the point to Lines.
| |||||||||||
Adds the point to Lines.
| |||||||||||
Adds the point to Lines.
| |||||||||||
|
[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 Lines object.
Gets the coordinates of the point.
| i | The index number of the point. |
|---|
Removes the point from Lines.
| i | The index number of the point. |
|---|
Sets the point's color for gradation.
| index | The index number of the point. |
|---|---|
| color | The color of the point. |
Sets the point's color for gradation.
| index | The index number of the point. |
|---|---|
| colorSet | The colorSet of the point. |
Sets the end point's color for gradation.
| color | The color of the end point. |
|---|
Sets the end point's color for gradation.
| colorSet | The colorSet of the end point. |
|---|
Sets the start point's color for gradation.
| colorSet | The colorSet of the start point. |
|---|
Sets the start point's color for gradation.
| color | The color of the start point. |
|---|
Sets the coordinates of the point.
| i | The index number of the point. |
|---|---|
| x | The x-coordinate of the point. |
| y | The y-coordinate of the point. |
| z | The z-coordinate of the point. |
Sets the coordinates of the point.
| i | The index number of the point. |
|---|---|
| x | The x-coordinate of the point. |
| y | The y-coordinate of the point. |
Adds the point to Lines.
| x | The x-coordinate of a new added point. |
|---|---|
| y | The y-coordinate of a new added point. |
Adds the point to Lines.
| x | The x-coordinate of a new added point. |
|---|---|
| y | The y-coordinate of a new added point. |
| z | The z-coordinate of a new added point. |
Adds the point to Lines.
| v | The coordinates of a new added point. |
|---|