Clip

sealed class Clip

Describes an area to be included or excluded in future draw calls.

Inheritors

Types

Link copied to clipboard
data class Path(val path: Path) : Clip

Use a path based clip.

Link copied to clipboard
data class Rect(val left: Float, val top: Float, val right: Float, val bottom: Float) : Clip

Use a rectangle based clip.

Properties

Link copied to clipboard
abstract val path: Path