Hair Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. Hair
- com.
public class Hair
Properties describing hair attributes.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
bald()
Get the bald value. |
List<Hair |
hairColor()
Get the hairColor value. |
boolean |
invisible()
Get the invisible value. |
Hair |
withBald(double bald)
Set the bald value. |
Hair |
withHairColor(List<HairColor> hairColor)
Set the hairColor value. |
Hair |
withInvisible(boolean invisible)
Set the invisible value. |
Method Details
bald
public double bald()
Get the bald value.
Returns:
hairColor
public List
Get the hairColor value.
Returns:
invisible
public boolean invisible()
Get the invisible value.
Returns:
withBald
public Hair withBald(double bald)
Set the bald value.
Parameters:
Returns:
withHairColor
public Hair withHairColor(List
Set the hairColor value.
Parameters:
Returns:
withInvisible
public Hair withInvisible(boolean invisible)
Set the invisible value.
Parameters:
Returns:
Applies to
Azure SDK for Java