SurfaceProfile

Describes the cross-sectional surface shape of the Glass bezel.

The profile controls how light bends at the transition from the edge to the flat interior, producing different refraction characteristics.

Entries

Link copied to clipboard

Spherical dome profile. Light rays bend sharply near the edge, creating a pronounced refraction rim that softens toward the flat interior.

Link copied to clipboard

Squircle profile with a gentler flat-to-curve transition. Produces smoother refraction gradients even when the shape is stretched into non-square rectangles.

Link copied to clipboard

Inverted dome that causes light rays to diverge outward, displacing them beyond the glass boundaries for a concave lens look.

Link copied to clipboard

Blends a raised convex rim with a shallow concave center dip. Useful for creating compound lens effects such as magnifying or recessed glass.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.