com.threerings.tudey.shape.config
Class ShapeConfig.TransformedShape

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.shape.config.ShapeConfig.TransformedShape
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
ShapeConfig

public static class ShapeConfig.TransformedShape
extends DeepObject
implements Exportable, com.threerings.io.Streamable

Combines a shape with its transform.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 ShapeConfig shape
          The shape.
 Transform2D transform
          The shape's transform.
 
Constructor Summary
ShapeConfig.TransformedShape()
           
 
Method Summary
 Shape getShape()
          Returns the transformed 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
 

Field Detail

shape

@Editable
public ShapeConfig shape
The shape.


transform

@Editable(step=0.01)
public Transform2D transform
The shape's transform.

Constructor Detail

ShapeConfig.TransformedShape

public ShapeConfig.TransformedShape()
Method Detail

getShape

public Shape getShape()
Returns the transformed shape.


invalidate

public void invalidate()
Invalidates any cached data.



Copyright © 2011. All Rights Reserved.