ClipOp

Class

Common
value class ClipOp internal constructor(@Suppress("unused") private val value: Int)

Defines how a new clip region should be merged with the existing clip region.

Used by Canvas.clipRect.

Companion Object

Properties

Common
val Difference = ClipOp(0)

Subtract the new region from the existing region.

Common
val Intersect = ClipOp(1)

Intersect the new region from the existing region.