Scoop API

scoop:scoop.ui.style:0.1.0

StylePainter

class StylePainter

source · line 16
public
public class StylePainter public constructor() : Closeable

Owns just the current filters and outlines; register once in the using element's scope.

function paint

source · line 95
public
public fun paint(canvas: Canvas, bounds: Rect, style: Style, backdrop: ImageFilter?, direction: LayoutDirection = LayoutDirection.Ltr, content: (Canvas) -> Unit): Unit

function paint

source · line 86
public
public fun paint(canvas: Canvas, bounds: Rect, style: Style, direction: LayoutDirection = LayoutDirection.Ltr, content: (Canvas) -> Unit): Unit