🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

RulerScope

A scope used in MeasureScope.layout for the rulers parameter to allow a layout to define Ruler values for children.

Source set: Common
public interface RulerScope : Density

A scope used in MeasureScope.layout for the rulers parameter to allow a layout to define Ruler values for children.

Properties

coordinates

Source set: Common
public val coordinates: LayoutCoordinates

LayoutCoordinates of the position in the hierarchy that the Ruler will be provided.

Functions

provides

Source set: Common
public infix fun Ruler.provides(value: Float)

Provides a constant value for a Ruler.

providesRelative

Source set: Common
public infix fun VerticalRuler.providesRelative(value: Float)

Provides a VerticalRuler value that is relative to the left side in an LTR layout or right side on an RTL layout.