updateContext method

  1. @override
void updateContext (GraphicsContext context)
override

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();
}