Responsive

A value resolved from two or more shortest-dimension points.

Constructor inputs are snapshotted. Point dimensions must be positive, finite, and strictly increasing. GlassOptics clamps outside the authored range and uses smoothstep interpolation between adjacent points.

Constructors

Link copied to clipboard
constructor(vararg points: OpticalSizePoint<T>)

Creates a responsive value from ordered points.

constructor(points: Collection<OpticalSizePoint<T>>)

Creates a responsive value from a collection of ordered points.

Properties

Link copied to clipboard

The read-only snapshot of ordered interpolation points.