Skip to main content

@novorender/api / RGBAOptions

Interface: RGBAOptions

Defined in: @novorender/src/web_app/highlight.ts:185

Options for RGBA + alpha color transformation.

Remarks

All input values are between 0 and 1.

Properties

blue

readonly blue: number | LinearTransform;

Defined in: @novorender/src/web_app/highlight.ts:191

Blue color adjustment.


green

readonly green: number | LinearTransform;

Defined in: @novorender/src/web_app/highlight.ts:189

Green color adjustment.


opacity

readonly opacity: number | LinearTransform;

Defined in: @novorender/src/web_app/highlight.ts:193

Opacity/alpha adjustment.


red

readonly red: number | LinearTransform;

Defined in: @novorender/src/web_app/highlight.ts:187

Red color adjustment.