Skip to main content

Module shape_def

Module shape_def 

Source
Expand description

Shape definitions shared by foundational visual APIs.

§Usage

Describe rounded rectangles and ellipses for surfaces, outlines, and effects.

Enums§

ResolvedShape
Resolved representation of a shape for rendering.
RoundedCorner
A fixed or size-relative corner radius with per-corner curvature.
Shape
Shape definitions for UI components.

Constants§

CAPSULE_G2_K_VALUE
Capsule shapes use a constant g2_k_value to maintain circular ends.