Packageorg.osmf.smpte.tt.formatting
Classpublic class InlineContent
InheritanceInlineContent Inheritance FormattingObject Inheritance TreeType Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedanimations : Vector.<Animation>
FormattingObject
 InheritedassignedRegion : RegionElement
[read-only] Return the currently assigned region for this Formatting object
FormattingObject
 Inheritedattributes : Vector.<TimedTextAttributeBase>
[read-only] List of attributes associated with this node
TreeType
 InheritedbackgroundColorStyleProperty : ColorExpression
[read-only]
FormattingObject
 Inheritedbegin : TimeCode
[read-only] Get the time at which this element becomes active
TreeType
 Inheritedchildren : Vector.<TreeType>
[read-only] List of time trees that are contained within this node
TreeType
 InheritedcolorStyleProperty : ColorExpression
[read-only]
FormattingObject
  content : String
[read-only]
InlineContent
 InheritedcontextualFontSize : FontSize
FormattingObject
 InheriteddirectionStyleProperty : String
[read-only]
FormattingObject
 InheriteddisplayAlignStyleProperty : String
[read-only]
FormattingObject
 InheriteddisplayStyleProperty : String
[read-only]
FormattingObject
 Inheritedduration : TimeCode
[read-only] Get the time at which this element is no longer active
TreeType
 Inheritedelement : TimedTextElementBase
FormattingObject
 Inheritedend : TimeCode
[read-only] Get the time at which this element is no longer active
TreeType
 Inheritedevents : Vector.<TimeCode>
[read-only] return an ordered list of the significant time events in the time tree.
TreeType
 Inheritedformatter : Function
Formatter is a function which takes a rendering engine and applies it to the element
FormattingObject
 InheritedleftStyleProperty : Number
[read-only]
FormattingObject
 Inheritedmetadata : Dictionary
[read-only] Metadata associated with this node
TreeType
 InheritedopacityStyleProperty : Number
[read-only]
FormattingObject
 InheritedoverflowStyleProperty : String
[read-only]
FormattingObject
 Inheritedparent : TreeType
tree node which is the unique parent of this node
TreeType
 InheritedpreserveStyleProperty : Boolean
[read-only]
FormattingObject
 InheritedregionId : String
[read-only] Get the region for this formatting object
FormattingObject
 InheritedrenderPassProperty : int
[read-only]
FormattingObject
 InheritedshowBackgroundStyleProperty : String
[read-only]
FormattingObject
 InheritedtextAlignStyleProperty : String
[read-only]
FormattingObject
 InheritedtextDecorationStyleProperty : TextDecorationAttributeValue
[read-only]
FormattingObject
 InheritedtextOutlineStyleProperty : TextOutline
[read-only]
FormattingObject
 InheritedtimeSemantics : TimeContainer
Specifies whether children are sequential or parallel in time.
TreeType
 Inheritedtiming : Dictionary
[read-only] The begin, end and dur times for this node
TreeType
 InheritedtopStyleProperty : Number
[read-only]
FormattingObject
 InheritedunicodeBidirectionStyleProperty : String
[read-only]
FormattingObject
 InheritedvisibilityStyleProperty : String
[read-only]
FormattingObject
 InheritedwrapOptionStyleProperty : Boolean
[read-only]
FormattingObject
 InheritedwritingModeStyleProperty : WritingMode
[read-only]
FormattingObject
Protected Properties
 PropertyDefined By
 InheritedactualDrawing : Rectangle
FormattingObject
Public Methods
 MethodDefined By
  
InlineContent
  
actualArea():Rectangle
[override]
InlineContent
 Inherited
Override animated attributes.
FormattingObject
 Inherited
FormattingObject
 Inherited
FormattingObject
 Inherited
FormattingObject
 Inherited
FormattingObject
 Inherited
FormattingObject
  
clear all breaks in the text.
InlineContent
 Inherited
clearStyle(property:String):void
clear a local style
FormattingObject
 Inherited
Calculate the context font size.
FormattingObject
 Inherited
computeTimeIntervals(context:TimeContainer, referenceStart:TimeCode, referenceEnd:TimeCode):void
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
  
getFont(renderObject:IRenderObject):Font
InlineContent
  
insertBreaks(breaks:Vector.<int>):void
Insert breaks in the text at given positions.
InlineContent
  
measureText(p_measureText:String, renderObject:IRenderObject, font:Font):Extent
Measure the width of content.
InlineContent
 Inherited
prune(regionId:String):void
Remove any subtrees which are not selected into the region.
FormattingObject
 Inherited
referenceArea():Rectangle
The reference area is where this element computes its dimensions from
FormattingObject
 Inherited
Undo all the animated overrides.
FormattingObject
 Inherited
[static] return the formatting object which represents the timed text tree at the given time
FormattingObject
 Inherited
setStyle(property:String, value:*):void
Set a local style on the element
FormattingObject
 Inherited
Test if the tree is active at the given time
TreeType
Property Detail
contentproperty
content:String  [read-only]


Implementation
    public function get content():String
Constructor Detail
InlineContent()Constructor
public function InlineContent(p_element:TimedTextElementBase)



Parameters
p_element:TimedTextElementBase
Method Detail
actualArea()method
override public function actualArea():Rectangle

Returns
Rectangle
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.

Returns
Function
getFont()method 
public function getFont(renderObject:IRenderObject):Font

Parameters

renderObject:IRenderObject

Returns
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

Returns
Extent