TreeContextData.tint

Tint is a transitive styling property that can be used to reduce color intensity of everything that a node draws. Tint applies per channel, which means it can be used to reduce opacity (by changing the alpha channel) and any of the three RGB colors.

A tint of value 0 sets intensity to 0% (disable). A tint of value 255 sets intensity to 100% (no change).

  1. Color tint()
    struct TreeContextData
    const nothrow
    tint
    ()
  2. Color tint(Color newValue)

Return Value

Type: Color

The current tint.

See Also

Style.tint

Meta