適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
flashx.textLayout.elements 

ParagraphFormattedElement  - AS3

套件flashx.textLayout.elements
類別public class ParagraphFormattedElement
繼承ParagraphFormattedElement Inheritance FlowGroupElement Inheritance FlowElement Inheritance Object
子類別 ContainerFormattedElement, ParagraphElement

語言版本: ActionScript 3.0
執行階段版本: Flash Player 10, AIR 1.5

ParagraphFormattedElement 類別是具有段落屬性之 FlowElement 類別的抽象基底類別。

您無法直接建立 ParagraphFormattedElement 物件。叫用新的 ParagraphFormattedElement() 時擲出錯誤例外。

預設 MXML 屬性mxmlChildren

相關 API 元素



公用屬性
 屬性定義自
 InheritedalignmentBaseline : *
TextLayoutFormat:指定主基線對齊的基線。
FlowElement
 InheritedbackgroundAlpha : *
TextLayoutFormat:背景的 Alpha (透明度) 值 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedbackgroundColor : *
TextLayoutFormat:文字的背景色彩 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedbaselineShift : *
TextLayoutFormat:從 dominantBaseline 值位移基線的量。
FlowElement
 InheritedblockProgression : *
TextLayoutFormat:指定行位置為垂直或水平走向。
FlowElement
 InheritedbreakOpportunity : *
TextLayoutFormat:將換行文字斷行時,控制斷行的位置。
FlowElement
 InheritedcffHinting : *
TextLayoutFormat:用於此文字的 CFF 提示類型。
FlowElement
 InheritedclearFloats : *
TextLayoutFormat:控制文字包圍在浮動物件四周的方式。
FlowElement
 Inheritedcolor : *
TextLayoutFormat:文字的色彩。
FlowElement
 InheritedcolumnCount : *
TextLayoutFormat:文字欄的數目 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedcolumnGap : *
TextLayoutFormat:以像素為單位,指定欄之間所留間距空間的量 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedcolumnWidth : *
TextLayoutFormat:以像素為單位的欄寬 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedcomputedFormat : flashx.textLayout.formats:ITextLayoutFormat
[唯讀] 傳回對此元素使用的計算格式特質。
FlowElement
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
 InheritedcoreStyles : Object
[唯讀] 傳回此 FlowElement 的 coreStyles。
FlowElement
 InheriteddigitCase : *
TextLayoutFormat:用於此文字的數字大小寫類型。
FlowElement
 InheriteddigitWidth : *
TextLayoutFormat:用於此文字的數字寬度類型。
FlowElement
 Inheriteddirection : *
TextLayoutFormat:指定文字區塊內文字的預設雙向內嵌層級。
FlowElement
 InheriteddominantBaseline : *
TextLayoutFormat:指定貼齊 alignmentBaseline 的元素基線,以決定行上元素的垂直位置。
FlowElement
 InheritedfirstBaselineOffset : *
TextLayoutFormat:指定容器中第一行的基線位置。
FlowElement
 InheritedfontFamily : *
TextLayoutFormat:要使用的字體名稱,或是以逗號分隔的字體名稱清單。
FlowElement
 InheritedfontLookup : *
TextLayoutFormat:要使用字體查詢。
FlowElement
 InheritedfontSize : *
TextLayoutFormat:以像素為單位的文字大小。
FlowElement
 InheritedfontStyle : *
TextLayoutFormat:文字樣式。
FlowElement
 InheritedfontWeight : *
TextLayoutFormat:字體粗細。
FlowElement
 Inheritedformat : flashx.textLayout.formats:ITextLayoutFormat
直接套用至此元素的 TextLayoutFormat 屬性。
FlowElement
 Inheritedid : String
指定元素的識別名稱,如此只要參照此 id 就可以設定元素的樣式。
FlowElement
 InheritedjustificationRule : *
TextLayoutFormat:對齊段落中文字所使用的規則。
FlowElement
 InheritedjustificationStyle : *
TextLayoutFormat:段落對齊所用的樣式。
FlowElement
 Inheritedkerning : *
TextLayoutFormat:字距微調會調整某些字元組之間的像素,以改善可讀性。
FlowElement
 InheritedleadingModel : *
TextLayoutFormat:指定行距模型,它結合了行距基礎及行距方向。
FlowElement
 InheritedligatureLevel : *
TextLayoutFormat:控制字體中定義的哪些連字可用於文字。
FlowElement
 InheritedlineBreak : *
TextLayoutFormat:控制容器內的文字換行 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedlineHeight : *
TextLayoutFormat:文字的行距控制。
FlowElement
 InheritedlineThrough : *
TextLayoutFormat:若為 true,將套用刪除線,亦即通過文字中間的線。
FlowElement
 InheritedlinkActiveFormat : *
TextLayoutFormat:定義正常狀態下的連結格式化特質。
FlowElement
 InheritedlinkHoverFormat : *
TextLayoutFormat:定義滑鼠位於連結範圍 (滑入) 時,停留狀態連結的格式化特質。
FlowElement
 InheritedlinkNormalFormat : *
TextLayoutFormat:定義正常狀態下的連結格式化特質。
FlowElement
 InheritedlistAutoPadding : *
TextLayoutFormat:當清單開始邊緣該側的邊框距離值設為 auto 時,這會將清單的開始邊緣指定為自動縮排。
FlowElement
 InheritedlistMarkerFormat : *
TextLayoutFormat:定義格式化特質清單標記。
FlowElement
 InheritedlistStylePosition : *
TextLayoutFormat:有效值為 ListStylePosition.INSIDE、ListStylePosition.OUTSIDE、FormatValue.INHERIT。若未定義預設值,則表示未設定。如果重疊顯示時未定義此屬性,則此屬性將繼承祖系的值。
FlowElement
 InheritedlistStyleType : *
TextLayoutFormat:有效值為 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。若未定義預設值,則表示未設定。如果重疊顯示時未定義此屬性,則此屬性將繼承祖系的值。
FlowElement
 Inheritedlocale : *
TextLayoutFormat:文字的地區設定。
FlowElement
 InheritedmxmlChildren : Array
將子系的陣列附加至此物件。
FlowGroupElement
 InheritednumChildren : int
[唯讀] 傳回此 FlowGroupElement 物件所具有的 FlowElement 子系數目。
FlowGroupElement
 InheritedpaddingBottom : *
TextLayoutFormat:下方內移距 (像素)。
FlowElement
 InheritedpaddingLeft : *
TextLayoutFormat:左方內移距 (像素)。
FlowElement
 InheritedpaddingRight : *
TextLayoutFormat:右方內移距 (像素)。
FlowElement
 InheritedpaddingTop : *
TextLayoutFormat:上方內移距 (像素)。
FlowElement
 InheritedparagraphEndIndent : *
TextLayoutFormat:指定段落結尾邊緣縮排量的數字 (以像素為單位)。
FlowElement
 InheritedparagraphSpaceAfter : *
TextLayoutFormat:一個數字,指定段落後面要保留的空間量 (像素)。
FlowElement
 InheritedparagraphSpaceBefore : *
TextLayoutFormat:一個數字,指定段落前面要保留的空間量 (像素)。
FlowElement
 InheritedparagraphStartIndent : *
TextLayoutFormat:指定段落開頭邊緣縮排量的數字 (以像素為單位)。
FlowElement
 Inheritedparent : FlowGroupElement
[唯讀] 傳回此 FlowElement 物件的父輩。
FlowElement
 InheritedparentRelativeEnd : int
[唯讀] 傳回父輩中此 FlowElement 物件的相對結尾。
FlowElement
 InheritedparentRelativeStart : int
[唯讀] 傳回父輩中此 FlowElement 物件的相對開頭。
FlowElement
 InheritedrenderingMode : *
TextLayoutFormat:用於此文字的顯示模式。
FlowElement
 InheritedstyleName : *
TextLayoutFormat:指定元素的識別類別,如此只要參照此 styleName 就可以設定元素的樣式。
FlowElement
 Inheritedstyles : Object
[唯讀] 傳回此 FlowElement 的樣式。
FlowElement
 InheritedtabStops : *
TextLayoutFormat:指定段落關聯的定位停駐點。
FlowElement
 InheritedtextAlign : *
TextLayoutFormat:段落中各行相對於容器的對齊方式。
FlowElement
 InheritedtextAlignLast : *
TextLayoutFormat:段落中最後 (或唯一的) 一行相對於齊行文字中之容器的對齊方式。
FlowElement
 InheritedtextAlpha : *
TextLayoutFormat:文字的 Alpha (透明) 值。
FlowElement
 InheritedtextDecoration : *
TextLayoutFormat:文字上的裝飾。
FlowElement
 InheritedtextIndent : *
TextLayoutFormat:以像素為單位,指定段落中第一行縮排量的數字。
FlowElement
 InheritedtextJustify : *
TextLayoutFormat:指定對齊文字的選項。
FlowElement
 InheritedtextLength : int
[唯讀] 傳回此 FlowElement 物件及其子系所擁有的文字總長度。
FlowElement
 InheritedtextRotation : *
TextLayoutFormat:決定此文字要旋轉的度數。
FlowElement
 Inheritedtracking : Object
[唯寫] 設定字距調整,且與 trackingRight 屬性的意義相同。
FlowElement
 InheritedtrackingLeft : *
TextLayoutFormat:以像素為單位代表要套用至每個字元左側字距調整 (手動字距微調) 量的數字 (或 fontSize 的百分比,例如,120%)。
FlowElement
 InheritedtrackingRight : *
TextLayoutFormat:以像素為單位代表要套用至每個字元右側字距調整 (手動字距微調) 量的數字 (或 fontSize 的百分比,例如,120%)。
FlowElement
 InheritedtypeName : String
每個 FlowElement 都有 typeName。
FlowElement
 InheritedtypographicCase : *
TextLayoutFormat:用於此文字的印刷大小寫類型。
FlowElement
 InheriteduserStyles : Object
可讓您讀寫 FlowElement 物件上的使用者樣式。
FlowElement
 InheritedverticalAlign : *
TextLayoutFormat:垂直對齊或齊行 (如果重疊顯示時未定義,則採用預設值)。
FlowElement
 InheritedwhiteSpaceCollapse : *
TextLayoutFormat:將文字匯入 TextFlow 時捨去或保留空格。
FlowElement
 InheritedwordSpacing : *
TextLayoutFormat:指定對齊時要使用之文字間的最佳、最小及最大間距 (標準間距寬度的倍數)。
FlowElement
公用方法
 方法定義自
 Inherited
附加子系 FlowElement 物件。
FlowGroupElement
 Inherited
在指定的索引位置新增子系 FlowElement 物件。
FlowGroupElement
 Inherited
清除此 FlowElement 物件中由 styleProp 參數所指定的樣式。
FlowElement
 Inherited
deepCopy(relativeStart:int = 0, relativeEnd:int = -1):FlowElement
製作此 FlowElement 物件 (包含任何子系) 的深層複本,這會複製兩個指定字元位置之間的內容,並傳回複本做為 FlowElement 物件。
FlowElement
 Inherited
將這一個的 userStyles 與 otherElement 的 userStyles 進行比較。
FlowElement
 Inherited
findChildIndexAtPosition(relativePosition:int):int
指定相對文字位置,尋找第一個內含相對位置的子系 FlowElement 的索引。
FlowGroupElement
 Inherited
findLeaf(relativePosition:int):FlowLeafElement
指定相對文字位置,尋找內含位置的分葉元素。
FlowGroupElement
 Inherited
傳回文字流排中的元素開始位置做為絕對索引。
FlowElement
 Inherited
getCharAtPosition(relativePosition:int):String
傳回指定位置的字元 (與此 FlowElement 物件相對的位置)。
FlowElement
 Inherited
getCharCodeAtPosition(relativePosition:int):int
傳回指定位置的字元碼 (與此 FlowElement 相對的位置)。
FlowElement
 Inherited
傳回指定索引位置的 FlowElement 子系。
FlowGroupElement
 Inherited
搜尋子系以找出指定的 FlowElement 物件,並傳回其索引位置。
FlowGroupElement
 Inherited
傳回此元素的開頭 (與祖系元素相對的位置)。
FlowElement
 Inherited
傳回此群組的第一個 FlowLeafElement 子系。
FlowGroupElement
 Inherited
傳回此群組的最後一個 FlowLeafElement 子系。
FlowGroupElement
 Inherited
傳回文字流排階層中的下一個 FlowElement 同級項目。
FlowElement
 Inherited
傳回與此元素相關的 ParagraphElement 物件。
FlowElement
 Inherited
傳回文字流排階層中的上一個 FlowElement 同級項目。
FlowElement
 Inherited
getStyle(styleProp:String):*
傳回 styleProp 參數所指定的樣式值,此參數會指定樣式名稱,而且可以包含任何使用者樣式名稱。
FlowElement
 Inherited
getText(relativeStart:int = 0, relativeEnd:int = -1, paragraphSeparator:String = " "):String
[覆寫]
FlowGroupElement
 Inherited
往上瀏覽文字流排階層,以傳回元素的根 TextFlow 物件。
FlowElement
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
實作物件已經建立而且在 MXML 標籤上指定的所有組件屬性已經初始化後,為 MXML 物件進行呼叫。
FlowElement
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
從群組中移除指定的子系 FlowElement 物件。
FlowGroupElement
 Inherited
移除指定索引位置的子系 FlowElement 物件。
FlowGroupElement
 Inherited
replaceChildren(beginChildIndex:int, endChildIndex:int, ... rest):void
將群組中的子元素取代為指定的新元素。
FlowGroupElement
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
將 styleProp 參數所指定的樣式設為 newValue 參數所指定的值。
FlowElement
 Inherited
shallowCopy(relativeStart:int = 0, relativeEnd:int = -1):FlowElement
製作此 FlowElement 物件的複本,這會複製兩個指定字元位置之間的內容。
FlowElement
 Inherited
在 childIndex 參數指定的位置分割此物件。
FlowGroupElement
 Inherited
splitAtPosition(relativePosition:int):FlowElement
在 relativePosition 參數指定的位置分割此 FlowElement 物件,而此參數是此元素在文字中的相對位置。
FlowElement
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。