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

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

public static class ShapeConfig.Capsule
extends ShapeConfig

A capsule.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.shape.config.ShapeConfig
ShapeConfig.Capsule, ShapeConfig.Circle, ShapeConfig.Compound, ShapeConfig.Global, ShapeConfig.None, ShapeConfig.Point, ShapeConfig.Polygon, ShapeConfig.Rectangle, ShapeConfig.Segment, ShapeConfig.TransformedShape, ShapeConfig.Vertex
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 float length
          The length of the capsule.
 float radius
          The radius of the capsule.
 
Constructor Summary
ShapeConfig.Capsule()
           
 
Method Summary
 
Methods inherited from class com.threerings.tudey.shape.config.ShapeConfig
getBounds, getList, getShape, invalidate
 
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

radius

@Editable(min=0.0,
          step=0.01,
          hgroup="c")
public float radius
The radius of the capsule.


length

@Editable(min=0.0,
          step=0.01,
          hgroup="c")
public float length
The length of the capsule.

Constructor Detail

ShapeConfig.Capsule

public ShapeConfig.Capsule()


Copyright © 2011. All Rights Reserved.