Known direct subclasses
LayerStyleScope

An interface that introduces the graphics layer property to a Style receiver scope.

Known indirect subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces the clip property to a Style receiver scope.

See also
StyleScope

Summary

Public functions

Unit
clip(value: Boolean)

Clips the component to its bounds.

Cmn

Public functions

clip

fun clip(value: Boolean = true): Unit

Clips the component to its bounds. If a ShapeScope.shape is also applied, it clips to the shape. When clip is true content that overflows the component's bounds is not drawn.

This property is not inherited

Parameters
value: Boolean = true

true to clip (default), false to allow drawing outside bounds.