PaintingStyle


Strategies for painting shapes and paths on a canvas.

See Paint.style.

Summary

Public companion properties

PaintingStyle

Apply the Paint to the inside of the shape.

Cmn
PaintingStyle

Apply the Paint to the edge of the shape.

Cmn

Public functions

open String
Cmn

Public companion properties

Fill

val FillPaintingStyle

Apply the Paint to the inside of the shape. For example, when applied to the Canvas.drawCircle call, this results in a disc of the given size being painted.

Stroke

val StrokePaintingStyle

Apply the Paint to the edge of the shape. For example, when applied to the Canvas.drawCircle call, this results is a hoop of the given size being painted. The line drawn on the edge will be the width given by the Paint.strokeWidth property.

Public functions

toString

open fun toString(): String