FontScaling
- Common/All
- Android/JVM
-
Cmn
interface FontScaling
Density |
A density of the screen. |
ApproachIntrinsicMeasureScope |
The receiver scope of a layout's intrinsic approach measurements lambdas. |
ApproachMeasureScope |
|
AwaitPointerEventScope |
Receiver scope for awaiting pointer events in a call to |
CacheDrawScope |
Handle to a drawing environment that enables caching of content based on the resolved size. |
CanvasDrawScope |
Implementation of |
ContentDrawScope |
Receiver scope for drawing content into a layout, where the content can be drawn between other canvas operations. |
DragAndDropSourceScope |
This interface is deprecated. Replaced by a callback for obtain a transfer data,start detection is performed by Compose itself |
DrawScope |
Creates a scoped drawing environment with the provided |
GraphicsLayerScope |
A scope which can be used to define the effects to apply for the content, such as scaling ( |
InjectionScope |
The receiver scope of all input injection lambdas offered in |
IntrinsicMeasureScope |
The receiver scope of a layout's intrinsic measurements lambdas. |
KeyInjectionScope |
The receiver scope of the key input injection lambda from |
LazyLayoutMeasureScope |
The receiver scope of a |
MeasureScope |
The receiver scope of a layout's measure lambda. |
MeasureScope |
The receiver scope of a layout's measure lambda. |
MouseInjectionScope |
The receiver scope of the mouse input injection lambda from |
MultiModalInjectionScope |
The receiver scope of the multi-modal input injection lambda from |
PointerInputScope |
Receiver scope for |
PressGestureScope |
Receiver scope for |
RotaryInjectionScope |
The receiver scope of rotary input injection lambda from |
RulerScope |
A scope used in |
SubcomposeMeasureScope |
The receiver scope of a |
TextAutoSizeLayoutScope |
An entity that allows performing text layout for auto sizing text. |
TouchInjectionScope |
The receiver scope of the touch input injection lambda from |
Converts TextUnit
to Dp
and vice-versa.
If you are implementing this interface yourself on Android, please check the docs for important optimization tips about caching.