Class (GI Struct)

Gsk-4.0GskComponentTransferSince 4.20

Specifies a transfer function for a color component to be applied while rendering.

The available functions include linear, piecewise-linear, gamma and step functions.

Note that the transfer function is applied to un-premultiplied values, and all results are clamped to the [0, 1] range.

4.20

Index

Constructors

Properties

Methods

  • Compares two component transfers for equality.

    Parameters

    • self: any

      a component transfer

    • other: any

      another component transfer

    Returns boolean