Docsv2.12.12
Back to API Reference
Struct

GradientGeometry

sealed

Per-text-range precomputed gradient geometry consumed by gradient-aware modifiers (GradientModifier, OutlineModifier).

Remarks

Filled once per layout cycle by Precompute from the range's glyph bounding boxes; queried per glyph by EvaluateColor to map a vertex position to a gradient t and the resulting Color32.
public float minProj
public float maxProj
public float cosAngle
public float sinAngle
public float centerX
public float centerY
public float radius