Class ColoredObjects

Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
All Implemented Interfaces:
Provider<Stack>, ProviderAsStack

public class ColoredObjects extends ColoredBaseWithGenerator
Draws a colored representation (outline or filled) of an ObjectCollection on a background
Author:
Owen Feehan
  • Constructor Details

    • ColoredObjects

      public ColoredObjects()
  • Method Details

    • objectsToDraw

      protected ObjectCollection objectsToDraw(Dimensions backgroundDimensions) throws CreateException
      Description copied from class: ColoredBaseWithGenerator
      The objects to draw (without any colors) on the background.
      Specified by:
      objectsToDraw in class ColoredBaseWithGenerator
      Parameters:
      backgroundDimensions - the dimensions of the background.
      Returns:
      the ObjectCollection to be drawn on the background.
      Throws:
      CreateException - if the objects cannot be created.
    • getObjects

      public ObjectCollectionProvider getObjects()
      Objects to draw on a background
    • setObjects

      public void setObjects(ObjectCollectionProvider objects)
      Objects to draw on a background