updateContext method
Implementation
@override
void updateContext(GraphicsContext context) {
context.moveTo(x, y);
context.lineTo(x + width, y);
context.lineTo(x + width, y + height);
context.lineTo(x, y + height);
context.closePath();
}
@override
void updateContext(GraphicsContext context) {
context.moveTo(x, y);
context.lineTo(x + width, y);
context.lineTo(x + width, y + height);
context.lineTo(x, y + height);
context.closePath();
}