Component

Component is a generic concept of an object that can be drawn on a canvas at a given pair of coordinates. Its subclasses are used throughout the library.

Inheritors

Functions

Link copied to clipboard
abstract fun draw(context: DrawingContext, left: Float, top: Float, right: Float, bottom: Float)

Instructs the Component to draw itself at the given coordinates.