| Package | Description | 
|---|---|
| org.cell2d.celick | |
| org.cell2d.celick.geom | 
| Modifier and Type | Method and Description | 
|---|---|
| Color | ShapeFill. colorAt(Shape shape,
       float x,
       float y)Get the colour that should be applied at the specified location | 
| void | Graphics. draw(Shape shape)Draw the outline of the given shape. | 
| void | Graphics. draw(Shape shape,
    ShapeFill fill)Draw the outline of the given shape. | 
| void | Graphics. fill(Shape shape)Draw the the given shape filled in. | 
| void | Graphics. fill(Shape shape,
    ShapeFill fill)Draw the the given shape filled in. | 
| Vector2f | ShapeFill. getOffsetAt(Shape shape,
           float x,
           float y)Get the offset for a vertex at a given location based on it's shape | 
| void | Graphics. texture(Shape shape,
       Image image)Draw the the given shape filled in with a texture | 
| void | Graphics. texture(Shape shape,
       Image image,
       boolean fit)Draw the the given shape filled in with a texture | 
| void | Graphics. texture(Shape shape,
       Image image,
       float scaleX,
       float scaleY)Draw the the given shape filled in with a texture | 
| void | Graphics. texture(Shape shape,
       Image image,
       float scaleX,
       float scaleY,
       boolean fit)Draw the the given shape filled in with a texture | 
| void | Graphics. texture(Shape shape,
       Image image,
       float scaleX,
       float scaleY,
       ShapeFill fill)Draw the the given shape filled in with a texture | 
| void | Graphics. texture(Shape shape,
       Image image,
       ShapeFill fill)Draw the the given shape filled in with a texture | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CircleA simple Circle geometry | 
| class  | CurveA beizer curve implementation. | 
| class  | EllipseAn ellipse meeting the  Shapecontract. | 
| class  | LineImplemenation of a bunch of maths functions to do with lines. | 
| class  | MorphShapeA shape that morphs between a set of other shapes | 
| class  | PathA shape built from lines and curves. | 
| class  | PointA single point shape | 
| class  | PolygonA polygon implementation meeting the  Shapecontract. | 
| class  | RectangleAn axis oriented used for shape bounds | 
| class  | RoundedRectangleClass to create rounded rectangles with. | 
| Modifier and Type | Method and Description | 
|---|---|
| Shape | Shape. prune()Prune any required points in this shape | 
| Shape[] | Shape. subtract(Shape other)Subtract the given shape from this one. | 
| Shape[] | GeomUtil. subtract(Shape target,
        Shape missing)Subtract one shape from another - note this is experimental and doesn't
 currently handle islands | 
| Shape | Curve. transform(Transform transform) | 
| Shape | Ellipse. transform(Transform transform) | 
| Shape | Line. transform(Transform transform) | 
| Shape | MorphShape. transform(Transform transform) | 
| Shape | Path. transform(Transform transform) | 
| Shape | Point. transform(Transform transform) | 
| Shape | Polygon. transform(Transform transform)Apply a transformation and return a new shape. | 
| Shape | Rectangle. transform(Transform transform)Apply a transformation and return a new shape. | 
| Shape | RoundedRectangle. transform(Transform transform)Apply a transformation and return a new shape. | 
| abstract Shape | Shape. transform(Transform transform)Apply a transformation and return a new shape. | 
| Shape[] | Shape. union(Shape other)Join this shape with another. | 
| Shape[] | GeomUtil. union(Shape target,
     Shape other)Join to shapes together. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MorphShape. addShape(Shape shape)Add a subsequent shape that we should morph too in order | 
| boolean | Shape. contains(Shape other)Check if the shape passed is entirely contained within 
 this shape. | 
| static void | ShapeRenderer. draw(Shape shape)Draw the outline of the given shape. | 
| static void | ShapeRenderer. draw(Shape shape,
    ShapeFill fill)Draw the outline of the given shape. | 
| static void | ShapeRenderer. fill(Shape shape)Draw the the given shape filled in. | 
| static void | ShapeRenderer. fill(Shape shape,
    ShapeFill fill)Draw the the given shape filled in. | 
| Line | GeomUtil. getLine(Shape shape,
       float sx,
       float sy,
       int e)Get a line between two points in a shape | 
| Line | GeomUtil. getLine(Shape shape,
       int s,
       int e)Get a line between two points in a shape | 
| GeomUtil.HitResult | GeomUtil. intersect(Shape shape,
         Line line)Intersect a line with a shape | 
| boolean | Circle. intersects(Shape shape)Check if this circle touches another | 
| boolean | Line. intersects(Shape shape) | 
| boolean | Rectangle. intersects(Shape shape)Check if this box touches another | 
| boolean | Shape. intersects(Shape shape)Check if this shape intersects with the shape provided. | 
| static int | GeomUtil. rationalPoint(Shape shape,
             int p)Rationalise a point in terms of a given shape | 
| void | MorphShape. setExternalFrame(Shape current)Set the current frame | 
| Shape[] | Shape. subtract(Shape other)Subtract the given shape from this one. | 
| Shape[] | GeomUtil. subtract(Shape target,
        Shape missing)Subtract one shape from another - note this is experimental and doesn't
 currently handle islands | 
| static void | ShapeRenderer. texture(Shape shape,
       Image image)Draw the the given shape filled in with a texture. | 
| static void | ShapeRenderer. texture(Shape shape,
       Image image,
       float scaleX,
       float scaleY)Draw the the given shape filled in with a texture. | 
| static void | ShapeRenderer. texture(Shape shape,
       Image image,
       float scaleX,
       float scaleY,
       ShapeFill fill)Draw the the given shape filled in with a texture. | 
| static void | ShapeRenderer. texture(Shape shape,
       Image image,
       TexCoordGenerator gen)Draw the the given shape filled in with a texture. | 
| static void | ShapeRenderer. textureFit(Shape shape,
          Image image)Draw the the given shape filled in with a texture. | 
| static void | ShapeRenderer. textureFit(Shape shape,
          Image image,
          float scaleX,
          float scaleY)Draw the the given shape filled in with a texture. | 
| Shape[] | Shape. union(Shape other)Join this shape with another. | 
| Shape[] | GeomUtil. union(Shape target,
     Shape other)Join to shapes together. | 
| static boolean | ShapeRenderer. validFill(Shape shape)Check there are enough points to fill | 
| Constructor and Description | 
|---|
| MorphShape(Shape base)Create a new mighty morphin shape |