Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Renders shapes and outlines. It is useful when reusing a previous saved shape/outline marked with asShape=true for example. It accepts transformations, paints and all the properties of shapes/outlines, though it won't modify the original shape/outline. Draw will automatically translate the shape to the world origin (0,0).

Properties

Property

Default

Notes

shape

 

a shape, an outline or a java.awt.Shape