Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flashx.textLayout.compose 
IVerticalJustificationLine 
Packageflashx.textLayout.compose
Interfacepublic interface IVerticalJustificationLine
Implementors TextFlowLine

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

The IVerticalJustificationLine interface defines the methods and properties required to allow the vertical justification of text lines.



Public Properties
 PropertyDefined By
  ascent : Number
[read-only] Specifies the number of pixels from the baseline to the top of the tallest characters in the line.
IVerticalJustificationLine
  descent : Number
[read-only] Specifies the number of pixels from the baseline to the bottom of the lowest-descending characters in the line.
IVerticalJustificationLine
  height : Number
[read-only] The height of the line in pixels.
IVerticalJustificationLine
  x : Number
The horizontal position of the line relative to its container, expressed as the offset in pixels from the left of the container.
IVerticalJustificationLine
  y : Number
The vertical position of the line relative to its container, expressed as the offset in pixels from the top of the container.
IVerticalJustificationLine
Property Detail

ascent

property
ascent:Number  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Specifies the number of pixels from the baseline to the top of the tallest characters in the line. For a TextLine that contains only a graphic element, ascent is set to 0.



Implementation
    public function get ascent():Number

descent

property 
descent:Number  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

Specifies the number of pixels from the baseline to the bottom of the lowest-descending characters in the line. For a TextLine that contains only a graphic element, descent is set to 0.



Implementation
    public function get descent():Number

height

property 
height:Number  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

The height of the line in pixels.



Implementation
    public function get height():Number

See also

x

property 
x:Number

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

The horizontal position of the line relative to its container, expressed as the offset in pixels from the left of the container.



Implementation
    public function get x():Number
    public function set x(value:Number):void

See also

y

property 
y:Number

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10, AIR 1.5

The vertical position of the line relative to its container, expressed as the offset in pixels from the top of the container.



Implementation
    public function get y():Number
    public function set y(value:Number):void

See also