paint abstract method

void paint(
  1. Canvas c
)

Paint this ScalableImage to the canvas c. This method saves the Canvas's state, translates the canvas by the viewport's origin, clips to the viewport's size, paints the image, and restores the Canvas.

Implementation

void paint(Canvas c);