Constructors

Properties

Methods

Constructors

  • Parameters

    • Optionaloptions: {
          imgMarginPart?: number;
          maxGlaringPart?: number;
      }
      • OptionalimgMarginPart?: number
      • OptionalmaxGlaringPart?: number

    Returns GlaresCheckParams

Properties

imgMarginPart?: number

Part of margin from the edges of the image that is ignored by glares check. Example: value 0.07 is 7% of image area is ignored.

maxGlaringPart?: number

The maximum allowable part of glared area. Example: value 0.1 is 10% allowed.

Methods

  • Allows you to deserialize object.

    Parameters

    • jsonObject: any

    Returns GlaresCheckParams