capacitor-plugin-scanbot-sdk
    Preparing search index...

    Class ContrastFilter

    Contrast adjustment filter.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • Optionalsource: DeepPartial<ContrastFilter>

      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

    Methods

    • Parameters

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

      • Optional Readonly_type?: "ContrastFilter"
      • Optionalcontrast?: 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

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