| Package | vegas.media.subtitles |
| Class | public class Caption |
| Inheritance | Caption SimpleValueObject Object |
| Property | Defined By | ||
|---|---|---|---|
| duration : Number [read-only]
Indicates the duration of the caption. | Caption | ||
| end : Number
The end time of the caption. | Caption | ||
![]() | id : *
Indicates the id of this ValueObject. | SimpleValueObject | |
| start : Number
The start time of the caption. | Caption | ||
| text : String
The text of the caption. | Caption | ||
| Method | Defined By | ||
|---|---|---|---|
Caption(init:Object = null)
Creates a new Caption instance. | Caption | ||
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | SimpleValueObject | |
![]() | formatToString(className:String = null, ... args):String
A utility function for implementing the toString() method. | SimpleValueObject | |
toObject():Object [override]
Returns the Object representation of this object. | Caption | ||
![]() | toSource(indent:int = 0):String
Returns the source code string representation of the object. | SimpleValueObject | |
toString():String [override]
Returns the String representation of this object. | Caption | ||
| duration | property |
duration:Number [read-only] Indicates the duration of the caption.
public function get duration():Number| end | property |
public var end:NumberThe end time of the caption.
| start | property |
public var start:NumberThe start time of the caption.
| text | property |
public var text:StringThe text of the caption.
| Caption | () | Constructor |
public function Caption(init:Object = null)Creates a new Caption instance.
Parametersinit:Object (default = null) — A generic object containing properties with which to populate the newly instance.
If this argument is null, it is ignored.
|
| toObject | () | method |
override public function toObject():ObjectReturns the Object representation of this object.
ReturnsObject — the Object representation of this object.
|
| toString | () | method |
override public function toString():StringReturns the String representation of this object.
ReturnsString — the String representation of this object.
|