Interface: CompareColorOptions


CloudControl Pro 9 Docs / color / CompareColorOptions

Interface: CompareColorOptions

color.CompareColorOptions

Compare color options.

See

{@lin Color.isSimilarTo}

Table of contents

Properties

Properties

ignoreAlphaChannel

Optional Readonly ignoreAlphaChannel: boolean

Whether to ignore alpha channel, default is true.


threshold

Optional Readonly threshold: number

Allowed comparison threshold, default is 16. Comparison algorithm is to compare each color channel separately, if the difference between each color channel is less than the threshold, the two colors are considered equal.