Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CompareColorOptions

Compare color options.

see

{@lin Color.isSimilarTo}

Hierarchy

  • CompareColorOptions

Index

Properties

Optional Readonly ignoreAlphaChannel

ignoreAlphaChannel: boolean

Whether to ignore alpha channel, default is true.

Optional Readonly threshold

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.