com.threerings.tudey.shape.config
Class ShapeConfig.TransformedShape
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.shape.config.ShapeConfig.TransformedShape
- All Implemented Interfaces:
- Exportable, Streamable, Copyable, Cloneable
- Enclosing class:
- ShapeConfig
public static class ShapeConfig.TransformedShape
- extends DeepObject
- implements Exportable, Streamable
Combines a shape with its transform.
shape
@Editable
public ShapeConfig shape
- The shape.
transform
@Editable(step=0.01)
public Transform2D transform
- The shape's transform.
_shape
@DeepOmit
protected transient Shape _shape
- The transformed shape.
ShapeConfig.TransformedShape
public ShapeConfig.TransformedShape()
getShape
public Shape getShape()
- Returns the transformed shape.
invalidate
public void invalidate()
- Invalidates any cached data.