Back to API Reference
Class

HighlightPresentation

sealed

Complete visual definition shared by authored highlights and the live text selection.

public IPaintProvider Provider{ get; set }

Source of named solid, gradient and texture paints.

public PaintRef Paint{ get; set }

Authored highlight paint.

public GeometryMapping GeometryMapping{ get; set }

How the logical range is split into visual figures.

public RangePaintMapping PaintMapping{ get; set }

How gradient or texture coordinates restart independently of geometry topology.

public PaintProjectionKind Shape{ get; set }

Gradient geometry; Inherit uses the selected swatch.

public PaintFit Fit{ get; set }

Texture fitting; Inherit uses the selected swatch.

public float Angle{ get; set }

Paint projection rotation in degrees; NaN uses the selected swatch.

public float Scale{ get; set }

Paint projection zoom; NaN uses the selected swatch.

public Vector2 PaintOffset{ get; set }

Paint projection offset in normalized frame units.

public RangeHeight Height{ get; set }

Vertical extent used for visual fragments.

public UnitVector2 Padding{ get; set }

Additional expansion around each figure; rounded corners contribute a geometric safe inset separately.

public UnitValue CornerRadius{ get; set }

Corner radius of the range surface.

public UnitValue MergeThreshold{ get; set }

Edge differences below this value snap to a shared edge across adjacent lines; a negative value uses the radius.

public RangeDecorationOrder Order{ get; set }

Whether the surface renders behind or above the text.

public Color32 Tint{ get; set }

Colour multiplied with the resolved solid, gradient, or texture paint.

public LayerBlend Blend{ get; set }

How the highlight composites; Inherit uses the selected paint.

public PaintSpread Spread{ get; set }

Gradient continuation outside the projection frame — visible where Scale or PaintOffset leaves part of the surface uncovered; Inherit uses the selected swatch. Occupies the final parameter slot: any parameter added later must follow it.