Contrast adjustment filter.

Hierarchy

  • PartiallyConstructible
    • ContrastFilter

Constructors

Properties

Constructors

  • Parameters

    • Optional source: {
          _type?: "ContrastFilter";
          contrast?: number;
      }
      • Optional Readonly _type?: "ContrastFilter"
      • Optional contrast?: number

        Contrast adjustment value in the range from -1 to 254 (inclusively). Negative values will decrease the contrast, positive values will increase it. Default is 0.0

    Returns ContrastFilter

Properties

_type: "ContrastFilter"
contrast: number

Contrast adjustment value in the range from -1 to 254 (inclusively). Negative values will decrease the contrast, positive values will increase it. Default is 0.0