com.threerings.tudey.config
Class HandlerConfig.TransformedShape
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.HandlerConfig.IntersectionShape
com.threerings.tudey.config.HandlerConfig.TransformedShape
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- HandlerConfig
public static class HandlerConfig.TransformedShape
- extends HandlerConfig.IntersectionShape
Uses a different shape, transformed by the source's transform.
shape
@Editable
public ShapeConfig shape
- The shape to use.
HandlerConfig.TransformedShape
public HandlerConfig.TransformedShape()
getShape
public Shape getShape(Shape source,
Transform2D transform,
Shape result)
- Description copied from class:
HandlerConfig.IntersectionShape
- Returns the intersection shape based on the source shape and transform.
- Specified by:
getShape in class HandlerConfig.IntersectionShape
result - a result object to reuse if possible.
invalidate
public void invalidate()
- Description copied from class:
HandlerConfig.IntersectionShape
- Invalidates any cached data.
- Overrides:
invalidate in class HandlerConfig.IntersectionShape
Copyright © 2011. All Rights Reserved.