Class Shape

All Implemented Interfaces:
IMultiColorable, ISingleColorable, IGLBindedResource, IGLRenderer, ISortableDraw
Direct Known Subclasses:
WaterfallComposite

public class Shape extends Composite
Allows building custom shapes defined by an ArrayList of Polygons. Such ArrayList must be defined by the user.
Author:
Martin Pernollet
  • Constructor Details

    • Shape

      public Shape()
      Initialize a Shape.
    • Shape

      public Shape(List<? extends Drawable> drawables)
      Initialize a Shape and set its polygons (and bounding box).
      See Also:
      • invalid @see
        for more information on the allowTransparency flag.