Contrast adjustment filter.

Constructors

Properties

Methods

Constructors

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

Methods

  • Parameters

    Returns {
        _type?: "ContrastFilter";
        contrast?: number;
        serialize?(config?): { readonly _type?: "ContrastFilter" | undefined; contrast?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
    }

    • 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

    • serialize?:function
      • Parameters

        Returns { readonly _type?: "ContrastFilter" | undefined; contrast?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }