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, com.threerings.io.Streamable, Copyable, Cloneable
- Enclosing class:
- ShapeConfig
public static class ShapeConfig.Vertex
- extends DeepObject
- implements Exportable, com.threerings.io.Streamable
A single vertex in a polygon.
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
|
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.
Copyright © 2011. All Rights Reserved.