Graphic

abstract class Graphic

Base class for a custom graphics object to be rendered within the graphic overlay. Subclass this and implement the Graphic.draw method to define the graphics element. Add instances to the overlay using OverlayView.add().

Functions

Link copied to clipboard
abstract fun draw(canvas: Canvas)

Draws the graphic on the supplied canvas.

Inheritors

Link copied to clipboard