用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
flashx.textLayout.compose 

IVerticalJustificationLine  - AS3

flashx.textLayout.compose
接口public interface IVerticalJustificationLine
实现器 TextFlowLine

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

IVerticalJustificationLine 接口定义允许文本行的垂直两端对齐所需的方法和属性。



公共属性
 属性由以下参数定义
  ascent : Number
[只读] 指定从基线到行中最高字符顶部的像素数。
IVerticalJustificationLine
  descent : Number
[只读] 指定从基线到行中最低字符底部的像素数。
IVerticalJustificationLine
  height : Number
[只读] 行的高度(像素数)。
IVerticalJustificationLine
  x : Number
该行相对于其容器的水平位置,以距容器左侧的像素偏移表示。
IVerticalJustificationLine
  y : Number
行相对于其容器的垂直位置,表达为距容器顶部的偏移(以像素为单位)。
IVerticalJustificationLine
属性详细信息

ascent

属性
ascent:Number  [只读]

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

指定从基线到行中最高字符顶部的像素数。对于仅包含图形元素的 TextLine,将 ascent 设置为 0。



实现
    public function get ascent():Number

descent

属性 
descent:Number  [只读]

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

指定从基线到行中最低字符底部的像素数。对于仅包含图形元素的 TextLine,将 descent 设置为 0。



实现
    public function get descent():Number

height

属性 
height:Number  [只读]

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

行的高度(像素数)。



实现
    public function get height():Number

x

属性 
x:Number

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

该行相对于其容器的水平位置,以距容器左侧的像素偏移表示。



实现
    public function get x():Number
    public function set x(value:Number):void

相关 API 元素

y

属性 
y:Number

语言版本: ActionScript 3.0
运行时版本: Flash Player 10, AIR 1.5

行相对于其容器的垂直位置,表达为距容器顶部的偏移(以像素为单位)。



实现
    public function get y():Number
    public function set y(value:Number):void

相关 API 元素





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。