你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ColorInfo interface
一个 对象,提供描述颜色属性的其他元数据。
属性
accent |
可能的主题色。 |
dominant |
可能的主要背景色。 |
dominant |
可能的主导前景色。 |
dominant |
可能的主要颜色的数组。 |
is |
一个值,该值指示图像是否为黑白。 |
属性详细信息
accentColor
可能的主题色。
accentColor?: string
属性值
string
dominantColorBackground
可能的主要背景色。
dominantColorBackground?: string
属性值
string
dominantColorForeground
可能的主导前景色。
dominantColorForeground?: string
属性值
string
dominantColors
可能的主要颜色的数组。
dominantColors?: string[]
属性值
string[]
isBWImg
一个值,该值指示图像是否为黑白。
isBWImg?: boolean
属性值
boolean