Hair Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.Hair

public class Hair

Properties describing hair attributes.

Method Summary

Modifier and Type Method and Description
double bald()

Get the bald value.

List<HairColor> 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 hairColor()

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 hairColor)

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