ColorInfo Classe
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ColorInfo
- com.
public class ColorInfo
Um objeto que fornece metadados adicionais que descrevem atributos de cor.
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
String |
accentColor()
Obtenha o valor accentColor. |
String |
dominantColorBackground()
Obtenha o valor dominanteColorBackground. |
String |
dominantColorForeground()
Obtenha o valor dominantColorForeground. |
List<String> |
dominantColors()
Obtenha o valor dominantColors. |
boolean |
isBWImg()
Obtenha o valor isBWImg. |
Color |
withAccentColor(String accentColor)
Defina o valor accentColor. |
Color |
withDominantColorBackground(String dominantColorBackground)
Defina o valor dominantColorBackground. |
Color |
withDominantColorForeground(String dominantColorForeground)
Defina o valor dominantColorForeground. |
Color |
withDominantColors(List<String> dominantColors)
Defina o valor dominantColors. |
Color |
withIsBWImg(boolean isBWImg)
Defina o valor isBWImg. |
Detalhes do método
accentColor
public String accentColor()
Obtenha o valor accentColor.
Returns:
dominantColorBackground
public String dominantColorBackground()
Obtenha o valor dominanteColorBackground.
Returns:
dominantColorForeground
public String dominantColorForeground()
Obtenha o valor dominantColorForeground.
Returns:
dominantColors
public List
Obtenha o valor dominantColors.
Returns:
isBWImg
public boolean isBWImg()
Obtenha o valor isBWImg.
Returns:
withAccentColor
public ColorInfo withAccentColor(String accentColor)
Defina o valor accentColor.
Parameters:
Returns:
withDominantColorBackground
public ColorInfo withDominantColorBackground(String dominantColorBackground)
Defina o valor dominantColorBackground.
Parameters:
Returns:
withDominantColorForeground
public ColorInfo withDominantColorForeground(String dominantColorForeground)
Defina o valor dominantColorForeground.
Parameters:
Returns:
withDominantColors
public ColorInfo withDominantColors(List
Defina o valor dominantColors.
Parameters:
Returns:
withIsBWImg
public ColorInfo withIsBWImg(boolean isBWImg)
Defina o valor isBWImg.
Parameters:
Returns:
Aplica-se a
Azure SDK for Java