public final class Time extends XmpTypeBase
Representation of a time value in seconds.
Constructor and Description |
---|
Time(Rational scale,
int value)
Initializes a new instance of the
Time class. |
Modifier and Type | Method and Description |
---|---|
Rational |
getScale()
Gets or sets scale for the time value.
|
int |
getValue()
Gets or sets time value in the specified scale.
|
String |
getXmpRepresentation()
Gets the string contained value in XMP format.
|
void |
setScale(Rational value)
Gets or sets scale for the time value.
|
void |
setValue(int value)
Gets or sets time value in the specified scale.
|
public final Rational getScale()
Gets or sets scale for the time value.
Value: The scale for the time value.For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25.
public final void setScale(Rational value)
Gets or sets scale for the time value.
Value: The scale for the time value.For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25.
public final int getValue()
Gets or sets time value in the specified scale.
Value: The time value in the specified scale.public final void setValue(int value)
Gets or sets time value in the specified scale.
Value: The time value in the specified scale.public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.