androidx.graphics.shapes


Interfaces

MutablePoint

This interface is used refer to Points that can be modified, as a scope to PointTransformer

PointTransformer

Interface for a function that can transform (rotate/scale/translate/etc.) points.

Classes

CornerRounding

CornerRounding defines the amount and quality around a given vertex of a shape.

Cubic

This class holds the anchor and control point data for a single cubic Bézier curve, with anchor points (anchor0X, anchor0Y) and (anchor1X, anchor1Y) at either end and control points (control0X, control0Y) and (control1X, control1Y) determining the slope of the curve between the anchor points.

CubicKt
Morph

This class is used to animate between start and end polygons objects.

MutableCubic

This is a Mutable version of Cubic, used mostly for performance critical paths so we can avoid creating new Cubics

RoundedPolygon

The RoundedPolygon class allows simple construction of polygonal shapes with optional rounding at the vertices.

RoundedPolygonKt
ShapesKt
RoundedPolygon.Companion