render

abstract fun render(view: T, canvas: Canvas, at: Point)

Renders the icon onto the given canvas, with the icon's top-left at the point indicated. The top-left location is that of the icon's bounding-box.

Parameters

view

The item this icon is to represent

canvas

The Canvas onto which this icon is being rendered

at

Where the top-left corner of the icon should be rendered