-
- All Implemented Interfaces:
public final class CanvasExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static Unitclear(Canvas $self)Clears a given canvas. final static Function0<Unit>createDrawRectangleCommand(Canvas $self, Rectangle rectangle, Paint colour)Returns a command for drawing the given rectangle on the caller canvas. -
-
Method Detail
-
createDrawRectangleCommand
final static Function0<Unit> createDrawRectangleCommand(Canvas $self, Rectangle rectangle, Paint colour)
Returns a command for drawing the given rectangle on the caller canvas.
-
-
-
-