render

abstract fun render(ctx: RenderContext)

Called when the render needs to be done. The object should use the ctx to perform the drawings.