| Package | org.openvideoplayer.cc |
| Class | public class CaptionFormat |
| Inheritance | CaptionFormat Object |
| Property | Defined By | ||
|---|---|---|---|
| endIndex : int [read-only]
Get the end index supplied to the constructor. | CaptionFormat | ||
| startIndex : int [read-only]
Get the start index supplied to the constructor. | CaptionFormat | ||
| styleObj : Style [read-only]
Get the style object supplied to the constructor. | CaptionFormat | ||
| Method | Defined By | ||
|---|---|---|---|
CaptionFormat(styleObj:Style, start:int = -1, end:int = -1)
Creates a CaptionFormat object specifying the Style object and the zero-based start and end indices of the range. | CaptionFormat | ||
| endIndex | property |
endIndex:int [read-only] Get the end index supplied to the constructor.
public function get endIndex():int| startIndex | property |
startIndex:int [read-only] Get the start index supplied to the constructor.
public function get startIndex():int| styleObj | property |
styleObj:Style [read-only] Get the style object supplied to the constructor.
public function get styleObj():Style| CaptionFormat | () | Constructor |
public function CaptionFormat(styleObj:Style, start:int = -1, end:int = -1)Creates a CaptionFormat object specifying the Style object and the zero-based start and end indices of the range.
ParametersstyleObj:Style — The instance of the org.openvideoplayer.cc.Style object to apply.
| |
start:int (default = -1) — The optional zero-based index position specifying the first character of the desired range of text. Default is to start with the first character.
| |
end:int (default = -1) — The optional zero-based index position specifying the last character of the desired range of text. Default is to end with the last character.
|