AccessibilityIndices extension

Extension on ZetaContrast to provide color indices for certain accessibility scenarios

on

Properties

border int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a border depending on the ZetaContrast value.
no setter
focus int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a focus state depending on the ZetaContrast value.
no setter
hover int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a hover state depending on the ZetaContrast value.
no setter
icon int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for an icon depending on the ZetaContrast value.
no setter
primary int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a primary depending on the ZetaContrast value.
no setter
selected int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a selected state depending on the ZetaContrast value.
no setter
subtle int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a subtle visual element depending on the ZetaContrast value.
no setter
surface int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a surface depending on the ZetaContrast value.
no setter
targetContrast double

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the target contrast value.
no setter
text int

Available on ZetaContrast, provided by the AccessibilityIndices extension

Returns the color index value for a surface depending on the ZetaContrast value.
no setter