{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.ui.graphics.drawscope

Annotations

DrawScopeMarker

DSL marker used to distinguish between drawing operations and canvas transform operations

Interfaces

ContentDrawScope

Receiver scope for drawing content into a layout, where the content can be drawn between other canvas operations.

DrawContext

Object that provides the dependencies to support a DrawScope drawing environment.

DrawScope

Creates a scoped drawing environment with the provided Canvas.

DrawTransform

Defines transformations that can be applied to a drawing environment

Classes

CanvasDrawScope

Implementation of DrawScope that issues drawing commands into the specified canvas and bounds via CanvasDrawScope.draw

DrawScopeKt
DrawStyle

Represents how the shapes should be drawn within a DrawScope

DrawTransformKt
Stroke

DrawStyle that provides information for drawing content with a stroke

DrawScope.Companion
Fill

Default DrawStyle indicating shapes should be drawn completely filled in with the provided color or pattern

Stroke.Companion