Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class CanvasRepainter
A helper class which lets callers trigger a repaint manually.
Link copied to clipboard
class RenderScope<C : RenderingContext>(val ctx: C, val width: Int, val height: Int, val colorMode: ColorMode, val elapsedMs: Double)
Arguments passed to the user's render
callback.
Properties
Link copied to clipboard
Link copied to clipboard
A millisecond value which, if used, will result in a 30FPS render.
Link copied to clipboard
A millisecond value which, if used, will result in a 60FPS render.
Link copied to clipboard
A millisecond value which, if used, will result in a canvas that never repaints on its own.
Functions
Link copied to clipboard
@Composable
Renders a Canvas using the "2d" rendering context.
Link copied to clipboard
@Composable
Renders a Canvas using the "webgl" rendering context.
Link copied to clipboard
@Composable
Renders a Canvas using the "webgl2" rendering context.