Class LengthUnit
Defines values for LengthUnit.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LengthUnit
Static value inch for LengthUnit.static final LengthUnit
Static value pixel for LengthUnit. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LengthUnit
fromString
(String name) Creates or finds a LengthUnit from its string representation.static Collection<LengthUnit>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PIXEL
Static value pixel for LengthUnit. -
INCH
Static value inch for LengthUnit.
-
-
Constructor Details
-
LengthUnit
public LengthUnit()
-
-
Method Details
-
fromString
Creates or finds a LengthUnit from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LengthUnit.
-
values
- Returns:
- known LengthUnit values.
-