getShape method

Shape getShape()

The shape, this must be set. The shape will be cloned, so you can create the shape on the stack.

Implementation

Shape getShape() {
  return shape;
}