The TabStopFormat class represents the properties of a tab stop in a paragraph. You can set the TextLayoutFormat.tabstops property to an array of TabStopFormat objects.
Replaces property values in this TabStopFormat object with the values of properties that are set in
the incoming ITabStopFormat instance. Properties that are undefined in the incoming
ITabStopFormat instance are not changed in this object.
Parameters
incoming:ITabStopFormat — instance whose property values are applied to this TabStopFormat object.
Concatenates the values of properties in the incoming ITabStopFormat instance
with the values of this TabStopFormat object. In this (the receiving) TabStopFormat object, properties whose values are FormatValue.INHERIT,
and inheriting properties whose values are undefined will get new values from the incoming object.
Non-inheriting properties whose values are undefined will get their default values.
All other property values will remain unmodified.
Parameters
incoming:ITabStopFormat — instance from which values are concatenated.
public function concatInheritOnly(incoming:ITabStopFormat):void
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Concatenates the values of properties in the incoming ITabStopFormat instance
with the values of this TabStopFormat object. In this (the receiving) TabStopFormat object, properties whose values are FormatValue.INHERIT,
and inheriting properties whose values are undefined will get new values from the incoming object.
All other property values will remain unmodified.
Parameters
incoming:ITabStopFormat — instance from which values are concatenated.
Copies TabStopFormat settings from the values ITabStopFormat instance into this TabStopFormat object.
If values is null, this TabStopFormat object is initialized with undefined values for all properties.
Parameters
values:ITabStopFormat — optional instance from which to copy values.
getStyle
()
method
public function getStyle(styleName:String):*
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Return the value of the style specified by the styleProp parameter
which specifies the style name.
Parameters
styleName:String — The name of the style whose value is to be retrieved.
Returns
* — The value of the specified style. The type varies depending on the type of the style being
accessed. Returns undefined if the style is not set.