UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

18 lines (17 loc) 364 B
/** * Color utilities for the Scene Viewer application. * * @internal * @internal */ import type Color from "../../Color.js"; /** * Return true if a color is bright. * see http://www.w3.org/TR/AERT#color-contrast * * @param color - Color * @returns `true` if color is bright * @internal * @internal */ export function isBright(color: Color): boolean;