com.threerings.tudey.shape.config
Class ShapeConfig.Vertex
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.shape.config.ShapeConfig.Vertex
- All Implemented Interfaces:
- Exportable, Streamable, Copyable, Cloneable
- Enclosing class:
- ShapeConfig
public static class ShapeConfig.Vertex
- extends DeepObject
- implements Exportable, Streamable
A single vertex in a polygon.
|
Field Summary |
float |
x
The vertex coordinates. |
float |
y
The vertex coordinates. |
x
@Editable(column=true)
public float x
- The vertex coordinates.
y
@Editable(column=true)
public float y
- The vertex coordinates.
ShapeConfig.Vertex
public ShapeConfig.Vertex()
createVector
public Vector2f createVector()
- Creates a vector from this vertex.