graphics property

Graphics graphics

Returns the Graphics object associated with this GShape, creating it if it doesn't already exist. The Graphics object is used to draw vector graphics.

Implementation

Graphics get graphics {
  return _graphics ??= Graphics();
}