addCommand method
Add a custom graphics command
Implementation
void addCommand(GraphicsCommand command) {
command._setGraphics(this);
_originalCommands.add(command);
_invalidate();
}
Add a custom graphics command
void addCommand(GraphicsCommand command) {
command._setGraphics(this);
_originalCommands.add(command);
_invalidate();
}