ClipOp

enum class ClipOp
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.graphics.ClipOp>
   ↳ androidx.ui.graphics.ClipOp

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

Used by Canvas.clipRect.

Summary

Enum values

Subtract the new region from the existing region.

Intersect the new region from the existing region.

Enum values

difference

enum val difference : ClipOp

Subtract the new region from the existing region.

intersect

enum val intersect : ClipOp

Intersect the new region from the existing region.