Expand description
Defines the Shape enum and its variants, used for describing the geometric form of UI components.
This module provides a flexible way to define very basic components’ shape, including
crate::surface::surface and crate::fluid_glass::fluid_glass.
Enums§
- Resolved
Shape - Resolved representation of a shape for rendering.
- Rounded
Corner - Corner definition: capsule or manual radius with per-corner G2.
- Shape
- Shape definitions for UI components.
Constants§
- CAPSULE_
G2_ K_ VALUE - Capsule shapes use a constant
g2_k_valueto maintain circular ends.