flashx.textLayout.compose

# IVerticalJustificationLine - AS3

Package | flashx.textLayout.compose
Interface | public 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

| Property | Defined 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`

### 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`

Related API Elements

y

### 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`

Related API Elements

x

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00