graphics property

  1. @override
Graphics graphics
override

Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.

Implementation

@override
Graphics get graphics => _graphics ??= Graphics();
  1. @override
void graphics=(Graphics value)
override

Implementation

@override
set graphics(Graphics value) {
  _graphics = value;
}