| Package | org.openvideoplayer.cc |
| Class | public class Style |
| Inheritance | Style Object |
See also
| Property | Defined By | ||
|---|---|---|---|
| backgroundColor : String
The background color for the control rendering the captioning text. | Style | ||
| color : String
The text color of the caption. | Style | ||
| fontFamily : String
The font family. | Style | ||
| fontSize : uint
The font size in pixels. | Style | ||
| fontStyle : String
The font style, normal or italic. | Style | ||
| fontWeight : String
The font weight, normal or bold. | Style | ||
| id : String [read-only]
Get the ID passed to the constructor. | Style | ||
| textAlign : String
The text alignment, left, center, or right. | Style | ||
| wrapOption : Boolean
The word wrap option. | Style | ||
| Method | Defined By | ||
|---|---|---|---|
Style(id:String)
Creates a Style object. | Style | ||
| backgroundColor | property |
backgroundColor:StringThe background color for the control rendering the captioning text.
public function get backgroundColor():String public function set backgroundColor(value:String):void| color | property |
color:StringThe text color of the caption.
public function get color():String public function set color(value:String):void| fontFamily | property |
fontFamily:StringThe font family.
public function get fontFamily():String public function set fontFamily(value:String):void| fontSize | property |
fontSize:uintThe font size in pixels.
public function get fontSize():uint public function set fontSize(value:uint):void| fontStyle | property |
fontStyle:StringThe font style, normal or italic.
public function get fontStyle():String public function set fontStyle(value:String):void| fontWeight | property |
fontWeight:StringThe font weight, normal or bold.
public function get fontWeight():String public function set fontWeight(value:String):void| id | property |
id:String [read-only] Get the ID passed to the constructor.
public function get id():String| textAlign | property |
textAlign:StringThe text alignment, left, center, or right.
public function get textAlign():String public function set textAlign(value:String):void| wrapOption | property |
wrapOption:BooleanThe word wrap option.
public function get wrapOption():Boolean public function set wrapOption(value:Boolean):void| Style | () | Constructor |
public function Style(id:String)Creates a Style object.
Parametersid:String — The ID is usually provided when read from the DFXP file in the head section.
|
See also