包 | flashx.textLayout.formats |
接口 | public interface IListMarkerFormat extends ITextLayoutFormat |
实现器 | ListMarkerFormat |
语言版本: | ActionScript 3.0 |
运行时版本: | Flash Player 10, AIR 1.5 |
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
afterContent : * [只读] 指定在标记后的字符串。 | IListMarkerFormat | ||
alignmentBaseline : * [只读]
指定主要基线对齐到的基线。 | ITextLayoutFormat | ||
backgroundAlpha : * [只读]
背景的 Alpha(透明度)值(如果在层叠期间未定义,则使用默认值)。 | ITextLayoutFormat | ||
backgroundColor : * [只读]
文本的背景颜色(如果在层叠期间未定义,则使用默认值)。 | ITextLayoutFormat | ||
baselineShift : * [只读]
从 dominantBaseline 值偏移基线的数量。 | ITextLayoutFormat | ||
beforeContent : * [只读] 指定在标记前的字符串。 | IListMarkerFormat | ||
blockProgression : * [只读]
指定线位置的垂直或水平行进。 | ITextLayoutFormat | ||
breakOpportunity : * [只读]
控制在将连续文本断开为多行时允许行断开的位置。 | ITextLayoutFormat | ||
cffHinting : * [只读]
用于此文本的 CFF 提示的类型。 | ITextLayoutFormat | ||
clearFloats : * [只读]
控制文本在浮点周围的环绕方式。 | ITextLayoutFormat | ||
color : * [只读]
文本的颜色。 | ITextLayoutFormat | ||
columnCount : * [只读]
文本列数(如果在层叠期间未定义,则使用默认值)。 | ITextLayoutFormat | ||
columnGap : * [只读]
指定要在列之间留出的装订线空间量(以像素为单位),如果在层叠期间未定义,则使用默认值。 | ITextLayoutFormat | ||
columnWidth : * [只读]
列宽(以像素为单位)(如果在层叠期间未定义,则使用默认值)。 | ITextLayoutFormat | ||
content : * [只读]
控制标记的内容。 | IListMarkerFormat | ||
counterIncrement : * [只读]
控制增加计数器的值。 | IListMarkerFormat | ||
counterReset : * [只读]
控制重置计数器的值。 | IListMarkerFormat | ||
digitCase : * [只读]
用于此文本的数字大小写类型。 | ITextLayoutFormat | ||
digitWidth : * [只读]
用于此文本的数字宽度类型。 | ITextLayoutFormat | ||
direction : * [只读]
指定文本在文本块中的默认双向嵌入级别。 | ITextLayoutFormat | ||
dominantBaseline : * [只读]
指定该元素的哪条基线紧贴到 alignmentBaseline 以确定元素在该行上的垂直位置。 | ITextLayoutFormat | ||
firstBaselineOffset : * [只读]
指定容器中第一行的基线位置。 | ITextLayoutFormat | ||
fontFamily : * [只读]
要使用的字体的名称或用逗号分隔的字体名称列表。 | ITextLayoutFormat | ||
fontLookup : * [只读]
要使用的字体查找。 | ITextLayoutFormat | ||
fontSize : * [只读]
文本的大小(以像素为单位)。 | ITextLayoutFormat | ||
fontStyle : * [只读]
文本的样式。 | ITextLayoutFormat | ||
fontWeight : * [只读]
文本的粗细。 | ITextLayoutFormat | ||
justificationRule : * [只读]
用于将段落文本两端对齐的规则。 | ITextLayoutFormat | ||
justificationStyle : * [只读]
段落两端对齐所用的样式。 | ITextLayoutFormat | ||
kerning : * [只读]
字距调整可调整某些字符对之间的像素以提高可读性。 | ITextLayoutFormat | ||
leadingModel : * [只读]
指定行距模型,它是行距基准和行距方向的组合。 | ITextLayoutFormat | ||
ligatureLevel : * [只读]
控制可以在该文本中使用字体中定义的哪些连字。 | ITextLayoutFormat | ||
lineBreak : * [只读]
控制容器内的换行(如果在层叠期间未定义,则使用默认值)。 | ITextLayoutFormat | ||
lineHeight : * [只读]
文本的行距控制。 | ITextLayoutFormat | ||
lineThrough : * [只读]
若为 true,则应用删除线(一条穿过文本中间的直线)。 | ITextLayoutFormat | ||
linkActiveFormat : * [只读]
定义用于处于正常状态的链接的格式属性。 | ITextLayoutFormat | ||
linkHoverFormat : * [只读]
定义当鼠标在链接边界内(悬停)时用于悬停状态链接的格式属性。 | ITextLayoutFormat | ||
linkNormalFormat : * [只读]
定义用于处于正常状态的链接的格式属性。 | ITextLayoutFormat | ||
listAutoPadding : * [只读]
指定当列表相应侧的内边距值为 auto 时,列表开始边缘的自动缩进。 | ITextLayoutFormat | ||
listMarkerFormat : * [只读]
定义列表标记的格式属性。 | ITextLayoutFormat | ||
listStylePosition : * [只读]
合法值为 ListStylePosition.INSIDE、ListStylePosition.OUTSIDE、FormatValue.INHERIT。默认值未定义,指示未设置。如果在层叠期间未定义,则此属性将从一个祖代继承值。 | ITextLayoutFormat | ||
listStyleType : * [只读]
合法值为 ListStyleType.UPPER_ALPHA、ListStyleType.LOWER_ALPHA、ListStyleType.UPPER_ROMAN、ListStyleType.LOWER_ROMAN、ListStyleType.NONE、ListStyleType.DISC、ListStyleType.CIRCLE、ListStyleType.SQUARE、ListStyleType.BOX、ListStyleType.CHECK、ListStyleType.DIAMOND、ListStyleType.HYPHEN、ListStyleType.ARABIC_INDIC、ListStyleType.BENGALI、ListStyleType.DECIMAL、ListStyleType.DECIMAL_LEADING_ZERO、ListStyleType.DEVANAGARI、ListStyleType.GUJARATI、ListStyleType.GURMUKHI、ListStyleType.KANNADA、ListStyleType.PERSIAN、ListStyleType.THAI、ListStyleType.URDU、ListStyleType.CJK_EARTHLY_BRANCH、ListStyleType.CJK_HEAVENLY_STEM、ListStyleType.HANGUL、ListStyleType.HANGUL_CONSTANT、ListStyleType.HIRAGANA、ListStyleType.HIRAGANA_IROHA、ListStyleType.KATAKANA、ListStyleType.KATAKANA_IROHA、ListStyleType.LOWER_ALPHA、ListStyleType.LOWER_GREEK、ListStyleType.LOWER_LATIN、ListStyleType.UPPER_ALPHA、ListStyleType.UPPER_GREEK、ListStyleType.UPPER_LATIN、FormatValue.INHERIT。默认值未定义,指示未设置。如果在层叠期间未定义,则此属性将从一个祖代继承值。 | ITextLayoutFormat | ||
locale : * [只读]
文本的区域设置。 | ITextLayoutFormat | ||
paddingBottom : * [只读]
底部边界区(像素数)。 | ITextLayoutFormat | ||
paddingLeft : * [只读]
左侧边界区(像素数)。 | ITextLayoutFormat | ||
paddingRight : * [只读]
右侧边界区(像素数)。 | ITextLayoutFormat | ||
paddingTop : * [只读]
顶部边界区(像素数)。 | ITextLayoutFormat | ||
paragraphEndIndent : * [只读]
一个数字,指定段落结束边缘的缩进量(像素数)。 | ITextLayoutFormat | ||
paragraphSpaceAfter : * [只读]
一个数字,指定在段落后留出的空白(像素数)。 | ITextLayoutFormat | ||
paragraphSpaceBefore : * [只读]
一个数字,指定在段落前留出的空白(像素数)。 | ITextLayoutFormat | ||
paragraphStartIndent : * [只读]
一个数字,指定段落开始边缘的缩进量(像素数)。 | ITextLayoutFormat | ||
renderingMode : * [只读]
用于此文本的呈现模式。 | ITextLayoutFormat | ||
styleName : * [只读]
为元素指定一个标识类,从而可以通过引用 styleName 来设置元素样式。 | ITextLayoutFormat | ||
suffix : * [只读]
控制在 ListItemElement 的生成文本中的后缀应用。 | IListMarkerFormat | ||
tabStops : * [只读]
指定与段落关联的制表位。 | ITextLayoutFormat | ||
textAlign : * [只读]
段落中的行与容器的对齐方式。 | ITextLayoutFormat | ||
textAlignLast : * [只读]
两端对齐文本中段落最后一行(或唯一的一行)与容器的对齐方式。 | ITextLayoutFormat | ||
textAlpha : * [只读]
文本的 Alpha(透明度)值。 | ITextLayoutFormat | ||
textDecoration : * [只读]
文本上的装饰。 | ITextLayoutFormat | ||
textIndent : * [只读]
一个数字,指定段落第一行的缩进量(以像素为单位)。 | ITextLayoutFormat | ||
textJustify : * [只读]
指定文本两端对齐的选项。 | ITextLayoutFormat | ||
textRotation : * [只读]
确定要旋转此文本的度数。 | ITextLayoutFormat | ||
trackingLeft : * [只读]
像素数(或字体大小的百分比,如 120%),指示应用于每个字符左侧的间隙数(手动字距调整)。 | ITextLayoutFormat | ||
trackingRight : * [只读]
像素数(或字体大小的百分比,如 120%)表示要应用到每个字符右边的间距的量(手动字距调整)。 | ITextLayoutFormat | ||
typographicCase : * [只读]
用于此文本的印刷大小写的类型。 | ITextLayoutFormat | ||
verticalAlign : * [只读]
垂直对齐或两端对齐(如果在层叠期间未定义,则使用默认值)。 | ITextLayoutFormat | ||
whiteSpaceCollapse : * [只读]
将文本导入到 TextFlow 中时压缩或保留空白。 | ITextLayoutFormat | ||
wordSpacing : * [只读]
指定在两端对齐期间使用的单词之间的最佳间距、最小间距和最大间距(作为普通间距宽度的乘数)。 | ITextLayoutFormat |
属性详细信息
afterContent | 属性 |
beforeContent | 属性 |
content | 属性 |
content:*
[只读] 控制标记的内容。
该字符串的合法值为:
none
- 无标记。counter(ordered)
- 显示标记。counter(ordered,ListStyleType)
- 显示标记但将 listStyleType 更改为指定的值。counters(ordered)
- 从顶级父 ListElement 开始,在每个指定了 listStyleType(由后缀分开)的计数器中创建已排序计数器的值字符串。这用于大纲数字(如 I.1.、I.2. 等)。counters(ordered,"<string>")
- 除由 <string> 代替每个已排序计数器的后缀外,与上一个值相似。counters(ordered,"<string>",ListStyleType)
- 除使用指定的值代替每个计数器的listStyleType
外,与上一个值相似。
如果未定义,则此属性的默认值为“counter(ordered)”
。
实现
public function get content():*
counterIncrement | 属性 |
counterReset | 属性 |
suffix | 属性 |
Tue Jun 12 2018, 11:04 AM Z