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:
the bald value
hairColor
public List
Get the hairColor value.
Returns:
the hairColor value
invisible
public boolean invisible()
Get the invisible value.
Returns:
the invisible value
withBald
public Hair withBald(double bald)
Set the bald value.
Parameters:
bald
- the bald value to set
Returns:
the Hair object itself.
withHairColor
public Hair withHairColor(List
Set the hairColor value.
Parameters:
hairColor
- the hairColor value to set
Returns:
the Hair object itself.
withInvisible
public Hair withInvisible(boolean invisible)
Set the invisible value.
Parameters:
invisible
- the invisible value to set
Returns:
the Hair object itself.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for Java