| java.lang.Object | ||
| ↳ | casmi.graphics.element.Element | |
| ↳ | casmi.graphics.element.Bezier | |
Bezier class. Wrap JOGL and make it easy to use.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Bezier object using coordinates for the anchor and control points.
| |||||||||||
Creates a new Bezier object using coordinates for the anchor and control points.
| |||||||||||
Creates a new Bezier object using coordinates for the anchor and control points.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the detail of this Bezier.
| |||||||||||
Sets coordinates for the anchor and control points of this Bezier.
| |||||||||||
Sets the colorSet of the anchor point for gradation.
| |||||||||||
Sets the color of the anchor point for gradation.
| |||||||||||
Sets the detail of this Bezier.
| |||||||||||
Sets x,y,z-coordinate of nodes of this Bezier.
| |||||||||||
Sets coordinate of nodes of this Bezier.
| |||||||||||
Sets x,y-coordinate of nodes of this Bezier.
| |||||||||||
|
[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 Bezier object using coordinates for the anchor and control points.
| x1 | The coordinate x for the first anchor point. |
|---|---|
| y1 | The coordinate y for the first anchor point. |
| x2 | The coordinate x for the first control point. |
| y2 | The coordinate y for the first control point. |
| x3 | The coordinate x for the second control point. |
| y3 | The coordinate y for the second control point. |
| x4 | The coordinate x for the second anchor point. |
| y4 | The coordinate y for the second anchor point. |
Creates a new Bezier object using coordinates for the anchor and control points.
| x1 | The coordinate x for the first anchor point. |
|---|---|
| y1 | The coordinate y for the first anchor point. |
| z1 | The coordinate z for the first anchor point. |
| x2 | The coordinate x for the first control point. |
| y2 | The coordinate y for the first control point. |
| z2 | The coordinate z for the first control point. |
| x3 | The coordinate x for the second control point. |
| y3 | The coordinate y for the second control point. |
| z3 | The coordinate z for the second control point. |
| x4 | The coordinate x for the second anchor point. |
| y4 | The coordinate y for the second anchor point. |
| z4 | The coordinate z for the second anchor point. |
Creates a new Bezier object using coordinates for the anchor and control points.
| v1 | The coordinates for the first anchor point. |
|---|---|
| v2 | The coordinates for the first control point. |
| v3 | The coordinates for the second control point. |
| v4 | The coordinates for the second ancor point. |
Gets the detail of this Bezier.
Sets coordinates for the anchor and control points of this Bezier.
| v1 | The coordinates for the first anchor point. |
|---|---|
| v2 | The coordinates for the first control point. |
| v3 | The coordinates for the second control point. |
| v4 | The coordinates for the second anchor point. |
Sets the colorSet of the anchor point for gradation.
| index | The index of anchors. The index of the start anchor point is 0, the index of the end anchor point is 1. |
|---|---|
| colorSet | The colorSet of the anchor point. |
Sets the color of the anchor point for gradation.
| index | The index of anchors. The index of the start anchor point is 0, the index of the end anchor point is 1. |
|---|---|
| color | The color of the anchor point. |
Sets the detail of this Bezier.
| detail | The detail of the Bezier. |
|---|
Sets x,y,z-coordinate of nodes of this Bezier.
| number | The number of a node. The node whose number is 0 or 3 is a anchor point, and the node whose number is 1 or 2 is a control point. |
|---|---|
| x | The x-coordinate of this node. |
| y | The y-coordinate of this node. |
| z | The y-coordinate of this node. |
Sets coordinate of nodes of this Bezier.
| number | The number of a node. The node whose number is 0 or 3 is a anchor point, and the node whose number is 1 or 2 is a control point. |
|---|---|
| v | The coordinates of this node. |
Sets x,y-coordinate of nodes of this Bezier.
| number | The number of a node. The node whose number is 0 or 3 is a anchor point, and the node whose number is 1 or 2 is a control point. |
|---|---|
| x | The x-coordinate of this node. |
| y | The y-coordinate of this node. |