|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.shape.config.ShapeConfig
@EditorTypes(value={ShapeConfig.Point.class,ShapeConfig.Segment.class,ShapeConfig.Rectangle.class,ShapeConfig.Circle.class,ShapeConfig.Capsule.class,ShapeConfig.Polygon.class,ShapeConfig.Compound.class,ShapeConfig.Global.class})
public abstract class ShapeConfigThe configuration for a shape.
| Nested Class Summary | |
|---|---|
static class |
ShapeConfig.Capsule
A capsule. |
static class |
ShapeConfig.Circle
A circle. |
static class |
ShapeConfig.Compound
A compound shape. |
static class |
ShapeConfig.Global
A global shape. |
static class |
ShapeConfig.None
A non-shape. |
static class |
ShapeConfig.Point
A point. |
static class |
ShapeConfig.Polygon
A polygon. |
static class |
ShapeConfig.Rectangle
A rectangle. |
static class |
ShapeConfig.Segment
A line segment. |
static class |
ShapeConfig.TransformedShape
Combines a shape with its transform. |
static class |
ShapeConfig.Vertex
A single vertex in a polygon. |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Constructor Summary | |
|---|---|
ShapeConfig()
|
|
| Method Summary | |
|---|---|
Box |
getBounds()
Returns a reference to the untransformed bounds of the shape. |
DisplayList |
getList(GlContext ctx,
boolean outline)
Returns the cached display list to draw this shape. |
Shape |
getShape()
Returns a reference to the untransformed shape. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeConfig()
| Method Detail |
|---|
public Shape getShape()
public Box getBounds()
public DisplayList getList(GlContext ctx,
boolean outline)
outline - if true, return the outline list; otherwise, the solid list.public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||