Package | org.osmf.smpte.tt.formatting |
Class | public class InlineContent |
Inheritance | InlineContent FormattingObject TreeType Object |
Property | Defined By | ||
---|---|---|---|
animations : Vector.<Animation> | FormattingObject | ||
assignedRegion : RegionElement [read-only]
Return the currently assigned region for this Formatting object
| FormattingObject | ||
attributes : Vector.<TimedTextAttributeBase> [read-only]
List of attributes associated with this node
| TreeType | ||
backgroundColorStyleProperty : ColorExpression [read-only] | FormattingObject | ||
begin : TimeCode [read-only]
Get the time at which this element becomes active
| TreeType | ||
children : Vector.<TreeType> [read-only]
List of time trees that are contained within this node
| TreeType | ||
colorStyleProperty : ColorExpression [read-only] | FormattingObject | ||
content : String [read-only] | InlineContent | ||
contextualFontSize : FontSize | FormattingObject | ||
directionStyleProperty : String [read-only] | FormattingObject | ||
displayAlignStyleProperty : String [read-only] | FormattingObject | ||
displayStyleProperty : String [read-only] | FormattingObject | ||
duration : TimeCode [read-only]
Get the time at which this element is no longer active
| TreeType | ||
element : TimedTextElementBase | FormattingObject | ||
end : TimeCode [read-only]
Get the time at which this element is no longer active
| TreeType | ||
events : Vector.<TimeCode> [read-only]
return an ordered list of the significant time events
in the time tree. | TreeType | ||
formatter : Function
Formatter is a function which takes a rendering engine
and applies it to the element
| FormattingObject | ||
leftStyleProperty : Number [read-only] | FormattingObject | ||
metadata : Dictionary [read-only]
Metadata associated with this node
| TreeType | ||
opacityStyleProperty : Number [read-only] | FormattingObject | ||
overflowStyleProperty : String [read-only] | FormattingObject | ||
parent : TreeType
tree node which is the unique parent of this node
| TreeType | ||
preserveStyleProperty : Boolean [read-only] | FormattingObject | ||
regionId : String [read-only]
Get the region for this formatting object
| FormattingObject | ||
renderPassProperty : int [read-only] | FormattingObject | ||
showBackgroundStyleProperty : String [read-only] | FormattingObject | ||
textAlignStyleProperty : String [read-only] | FormattingObject | ||
textDecorationStyleProperty : TextDecorationAttributeValue [read-only] | FormattingObject | ||
textOutlineStyleProperty : TextOutline [read-only] | FormattingObject | ||
timeSemantics : TimeContainer
Specifies whether children are sequential or parallel in time. | TreeType | ||
timing : Dictionary [read-only]
The begin, end and dur times for this node
| TreeType | ||
topStyleProperty : Number [read-only] | FormattingObject | ||
unicodeBidirectionStyleProperty : String [read-only] | FormattingObject | ||
visibilityStyleProperty : String [read-only] | FormattingObject | ||
wrapOptionStyleProperty : Boolean [read-only] | FormattingObject | ||
writingModeStyleProperty : WritingMode [read-only] | FormattingObject |
Method | Defined By | ||
---|---|---|---|
InlineContent(p_element:TimedTextElementBase) | InlineContent | ||
actualArea():Rectangle [override] | InlineContent | ||
applyAnimations():void
Override animated attributes. | FormattingObject | ||
FormattingObject | |||
FormattingObject | |||
FormattingObject | |||
FormattingObject | |||
FormattingObject | |||
clearBreaks():void
clear all breaks in the text. | InlineContent | ||
clearStyle(property:String):void
clear a local style
| FormattingObject | ||
computeRelativeStyles(renderObject:IRenderObject):void
Calculate the context font size. | FormattingObject | ||
Walk the tree to determine the absolute start and end times of all the elements. | TreeType | ||
createFormatter():Function [override]
Return a formatting function for this element. | InlineContent | ||
InlineContent | |||
insertBreaks(breaks:Vector.<int>):void
Insert breaks in the text at given positions. | InlineContent | ||
Measure the width of content. | InlineContent | ||
prune(regionId:String):void
Remove any subtrees which are not selected into the region. | FormattingObject | ||
referenceArea():Rectangle
The reference area is where this element computes its dimensions from
| FormattingObject | ||
removeAppliedAnimations():void
Undo all the animated overrides. | FormattingObject | ||
[static]
return the formatting object which represents the timed text tree at the given time
| FormattingObject | ||
setStyle(property:String, value:*):void
Set a local style on the element
| FormattingObject | ||
temporallyActive(time:TimeCode):Boolean
Test if the tree is active at the given time
| TreeType |
content | property |
content:String
[read-only] public function get content():String
InlineContent | () | Constructor |
public function InlineContent(p_element:TimedTextElementBase)
p_element:TimedTextElementBase |
actualArea | () | method |
override public function actualArea():Rectangle
ReturnsRectangle |
clearBreaks | () | method |
public function clearBreaks():void
clear all breaks in the text.
createFormatter | () | method |
override public function createFormatter():Function
Return a formatting function for this element.
ReturnsFunction |
getFont | () | method |
public function getFont(renderObject:IRenderObject):Font
Parameters
renderObject:IRenderObject |
Font |
insertBreaks | () | method |
public function insertBreaks(breaks:Vector.<int>):void
Insert breaks in the text at given positions.
Parameters
breaks:Vector.<int> |
measureText | () | method |
public function measureText(p_measureText:String, renderObject:IRenderObject, font:Font):Extent
Measure the width of content.
Parameters
p_measureText:String | |
renderObject:IRenderObject | |
font:Font |
Extent |