com.threerings.tudey.config
Class HandlerConfig.DefaultShape
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.HandlerConfig.IntersectionShape
com.threerings.tudey.config.HandlerConfig.DefaultShape
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- HandlerConfig
public static class HandlerConfig.DefaultShape
- extends HandlerConfig.IntersectionShape
Uses the source's shape with an optional expansion.
|
Field Summary |
float |
expansion
The amount to expand the shape. |
expansion
@Editable(step=0.01)
public float expansion
- The amount to expand the shape.
HandlerConfig.DefaultShape
public HandlerConfig.DefaultShape()
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.
Copyright © 2011. All Rights Reserved.