MatroskaVideoDisplayUnit
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public enum MatroskaVideoDisplayUnit extends Enum<MatroskaVideoDisplayUnit> implements IEnumValue
Defines how Matroska DisplayWidth and DisplayHeight are interpreted.
Fields
Field | Description |
---|---|
Pixels | Pixels unit. |
Centimeters | Centimeters unit. |
Inches | Inches unit. |
AspectRatio | Display aspect ratio unit. |
Unknown | Unknown unit. |
Methods
Pixels
public static final MatroskaVideoDisplayUnit Pixels
Pixels unit.
Centimeters
public static final MatroskaVideoDisplayUnit Centimeters
Centimeters unit.
Inches
public static final MatroskaVideoDisplayUnit Inches
Inches unit.
AspectRatio
public static final MatroskaVideoDisplayUnit AspectRatio
Display aspect ratio unit.
Unknown
public static final MatroskaVideoDisplayUnit Unknown
Unknown unit.
values()
public static MatroskaVideoDisplayUnit[] values()
Returns: com.groupdocs.metadata.core.MatroskaVideoDisplayUnit[]
valueOf(String name)
public static MatroskaVideoDisplayUnit valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: MatroskaVideoDisplayUnit
getByRawValue(int rawValue)
public static MatroskaVideoDisplayUnit getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: MatroskaVideoDisplayUnit
getFirst()
public static IEnumValue getFirst()
Returns: IEnumValue
getAllValues()
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
getEnumValueByRawValue(int rawValue)
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: IEnumValue
getEnumValueByName(String name)
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: IEnumValue
getRawValueType()
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
getRawValue()
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int