Class

Path.Direction

Specifies how closed shapes (e.g.

Source set: Common
public enum class Direction {
        /** The shape is wound in counter-clockwise order. */
        CounterClockwise,
        /** The shape is wound in clockwise order. */
        Clockwise,
    }

Specifies how closed shapes (e.g. rectangles, ovals) are wound (oriented) when they are added to a path.

Members

CounterClockwise

Source set: Common
CounterClockwise

The shape is wound in counter-clockwise order.

Clockwise

Source set: Common
Clockwise

The shape is wound in clockwise order.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: