blob: 70a19b5181689e17dd63826b67d9ce81047b7fa6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><meta name="keywords" content="LeadingModel,flashx.textLayout.formats.LeadingModel,ABOVE,ALL,ALWAYS,APPROXIMATE_TEXT_FIELD,AQUA,ARABIC_INDIC,ASCENT,ASCENT_DESCENT_UP,AUTO,AUTO,AUTO,AUTO,AUTO,BELOW,BENGALI,BLACK,BLUE,BORDER,BOTH,BOTTOM,BOX,BOX,BOX,CAPS_TO_SMALL_CAPS,CENTER,CHECK,CIRCLE,CJK_EARTHLY_BRANCH,CJK_HEAVENLY_STEM,COLLAPSE,COLS,CYAN,DECIMAL,DECIMAL_LEADING_ZERO,DEFAULT,DEVANAGARI,DIAMOND,DISC,DISTRIBUTE,EAST_ASIAN,END,END,END,EXPLICIT,FUCHSIA,GRAY,GREEN,GROUPS,GUJARATI,GURMUKHI,HANGUL,HANGUL_CONSTANT,HIRAGANA,HIRAGANA_IROHA,HSIDES,HYPHEN,IDEOGRAPHIC_CENTER_DOWN,IDEOGRAPHIC_CENTER_UP,IDEOGRAPHIC_TOP_DOWN,IDEOGRAPHIC_TOP_UP,INHERIT,INSIDE,INTER_WORD,JUSTIFY,JUSTIFY,KANNADA,KATAKANA,KATAKANA_IROHA,LEFT,LEFT,LEFT,LHS,LIME,LINE_HEIGHT,LOWERCASE,LOWERCASE_TO_SMALL_CAPS,LOWER_ALPHA,LOWER_GREEK,LOWER_LATIN,LOWER_ROMAN,LTR,MAGENTA,MAROON,MIDDLE,NAVY,NONE,NONE,NONE,NONE,NONE,NONE,NONE,OLIVE,OUTSIDE,PERSIAN,PRESERVE,PURPLE,RED,RHS,RIGHT,RIGHT,RIGHT,RL,ROMAN_UP,ROWS,RTL,SILVER,SPACE,SQUARE,START,START,START,SUBSCRIPT,SUPERSCRIPT,TB,TEAL,THAI,TOP,TO_FIT,TRANSPARENT,TRANSPARENT,UNDERLINE,UPPERCASE,UPPER_ALPHA,UPPER_GREEK,UPPER_LATIN,UPPER_ROMAN,URDU,VOID,VSIDES,WHITE,YELLOW,afterContent,afterContent,alignment,alignment,alignmentBaseline,alignmentBaseline,alignmentBaselineProperty,backgroundAlpha,backgroundAlpha,backgroundAlphaProperty,backgroundColor,backgroundColor,backgroundColorProperty,baselineShift,baselineShift,baselineShiftProperty,beforeContent,beforeContent,blockProgression,blockProgression,blockProgressionProperty,borderBottomColor,borderBottomColor,borderBottomColorProperty,borderBottomPriority,borderBottomPriority,borderBottomPriorityProperty,borderBottomWidth,borderBottomWidth,borderBottomWidthProperty,borderLeftColor,borderLeftColor,borderLeftColorProperty,borderLeftPriority,borderLeftPriority,borderLeftPriorityProperty,borderLeftWidth,borderLeftWidth,borderLeftWidthProperty,borderRightColor,borderRightColor,borderRightColorProperty,borderRightPriority,borderRightPriority,borderRightPriorityProperty,borderRightWidth,borderRightWidth,borderRightWidthProperty,borderTopColor,borderTopColor,borderTopColorProperty,borderTopPriority,borderTopPriority,borderTopPriorityProperty,borderTopWidth,borderTopWidth,borderTopWidthProperty,breakOpportunity,breakOpportunity,breakOpportunityProperty,cellPadding,cellPadding,cellPaddingProperty,cellSpacing,cellSpacing,cellSpacingProperty,cffHinting,cffHinting,cffHintingProperty,clearFloats,clearFloats,clearFloatsProperty,color,color,colorProperty,columnBreakAfter,columnBreakAfter,columnBreakAfterProperty,columnBreakBefore,columnBreakBefore,columnBreakBeforeProperty,columnCount,columnCount,columnCountProperty,columnGap,columnGap,columnGapProperty,columnWidth,columnWidth,columnWidthProperty,containerBreakAfter,containerBreakAfter,containerBreakAfterProperty,containerBreakBefore,containerBreakBefore,containerBreakBeforeProperty,content,content,coreStyles,counterIncrement,counterIncrement,counterReset,counterReset,decimalAlignmentToken,decimalAlignmentToken,defaultFormat,defaultFormat,digitCase,digitCase,digitCaseProperty,digitWidth,digitWidth,digitWidthProperty,direction,direction,directionProperty,dominantBaseline,dominantBaseline,dominantBaselineProperty,firstBaselineOffset,firstBaselineOffset,firstBaselineOffsetProperty,fontFamily,fontFamily,fontFamilyProperty,fontLookup,fontLookup,fontLookupProperty,fontSize,fontSize,fontSizeProperty,fontStyle,fontStyle,fontStyleProperty,fontWeight,fontWeight,fontWeightProperty,frame,frame,frameProperty,justificationRule,justificationRule,justificationRuleProperty,justificationStyle,justificationStyle,justificationStyleProperty,kerning,kerning,kerningProperty,leadingModel,leadingModel,leadingModelProperty,ligatureLevel,ligatureLevel,ligatureLevelProperty,lineBreak,lineBreak,lineBreakProperty,lineHeight,lineHeight,lineHeightProperty,lineThrough,lineThrough,lineThroughProperty,linkActiveFormat,linkActiveFormat,linkActiveFormatProperty,linkHoverFormat,linkHoverFormat,linkHoverFormatProperty,linkNormalFormat,linkNormalFormat,linkNormalFormatProperty,listAutoPadding,listAutoPadding,listAutoPaddingProperty,listMarkerFormat,listMarkerFormat,listMarkerFormatProperty,listStylePosition,listStylePosition,listStylePositionProperty,listStyleType,listStyleType,listStyleTypeProperty,locale,locale,localeProperty,marginBottom,marginBottom,marginBottomProperty,marginLeft,marginLeft,marginLeftProperty,marginRight,marginRight,marginRightProperty,marginTop,marginTop,marginTopProperty,maxCellHeight,maxCellHeight,maxCellHeightProperty,minCellHeight,minCellHeight,minCellHeightProperty,paddingBottom,paddingBottom,paddingBottomProperty,paddingLeft,paddingLeft,paddingLeftProperty,paddingRight,paddingRight,paddingRightProperty,paddingTop,paddingTop,paddingTopProperty,paragraphEndIndent,paragraphEndIndent,paragraphEndIndentProperty,paragraphSpaceAfter,paragraphSpaceAfter,paragraphSpaceAfterProperty,paragraphSpaceBefore,paragraphSpaceBefore,paragraphSpaceBeforeProperty,paragraphStartIndent,paragraphStartIndent,paragraphStartIndentProperty,position,position,renderingMode,renderingMode,renderingModeProperty,rules,rules,rulesProperty,styleName,styleName,styleNameProperty,styles,suffix,suffix,tabStops,tabStops,tabStopsProperty,tableColumnWidth,tableColumnWidth,tableColumnWidthProperty,tableWidth,tableWidth,tableWidthProperty,textAlign,textAlign,textAlignLast,textAlignLast,textAlignLastProperty,textAlignProperty,textAlpha,textAlpha,textAlphaProperty,textDecoration,textDecoration,textDecorationProperty,textIndent,textIndent,textIndentProperty,textJustify,textJustify,textJustifyProperty,textRotation,textRotation,textRotationProperty,trackingLeft,trackingLeft,trackingLeftProperty,trackingRight,trackingRight,trackingRightProperty,typographicCase,typographicCase,typographicCaseProperty,userStyles,verticalAlign,verticalAlign,verticalAlignProperty,whiteSpaceCollapse,whiteSpaceCollapse,whiteSpaceCollapseProperty,wordSpacing,wordSpacing,wordSpacingProperty"><title>flashx.textLayout.formats.LeadingModel</title></head><body><script language="javascript" type="text/javascript" src="../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
asdocTitle = 'LeadingModel - ApacheFlex API Reference';
var baseRef = '../../../';
window.onload = configPage;
--></script>
<script type="text/javascript">
scrollToNameAnchor();
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.14.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../../package-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../../class-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../../all-index-A.html" onclick="loadClassListFrame('../../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../../index.html?flashx/textLayout/formats/LeadingModel.html&amp;flashx/textLayout/formats/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">LeadingModel</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#constantSummary">Constants</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("LeadingModel"); titleBar_setSubNav(true,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
-->
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">flashx.textLayout.formats</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public final class LeadingModel</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">LeadingModel <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p></p><p></p>
Defines values for setting the <code>leadingModel</code> property
of the <code>TextLayoutFormat</code> class, composed of valid combinations of leading basis and leading direction.
Leading basis describes which baselines determine the leading (or <code>lineHeight</code>) of lines in a paragraph.
Leading direction specifies whether the <code>lineHeight</code> property refers to the distance of a line's
baseline from that of the line before it or the line after it.
<p>
<img src="../../../images/textLayout_baselines.jpg" alt="baselines"></img>
<img src="../../../images/textLayout_LD1.jpg" alt="leadingDirection_1"></img>
<img src="../../../images/textLayout_LD2.jpg" alt="leadingDirection_2"></img>
<img src="../../../images/textLayout_LD3.jpg" alt="leadingDirection_3"></img>
</p>
<p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="TextLayoutFormat.html#leadingModel" target="">TextLayoutFormat.leadingModel</a><br/><a href="TextLayoutFormat.html#lineHeight" target="">TextLayoutFormat.lineHeight</a><br/>flash.text.TextField<br/>flash.text.engine.TextLine</div><br/><hr></div><a name="constantSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Constants</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableConstant"><tr><th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#APPROXIMATE_TEXT_FIELD" class="signatureLink">APPROXIMATE_TEXT_FIELD</a> : String = approximateTextField<div class="summaryTableDescription">[static] Specifies a leading model that approximates the line spacing behavior of TextField.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ASCENT_DESCENT_UP" class="signatureLink">ASCENT_DESCENT_UP</a> : String = ascentDescentUp<div class="summaryTableDescription">[static] Specifies that leading basis is ASCENT/DESCENT and leading direction is UP.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#AUTO" class="signatureLink">AUTO</a> : String = auto<div class="summaryTableDescription">[static] Specifies that leading model is chosen automatically based on the paragraph's locale property.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#BOX" class="signatureLink">BOX</a> : String = box<div class="summaryTableDescription">[static] Specifies a leading model based on the CSS inline formatting model, which involves stacking line boxes contiguously.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#IDEOGRAPHIC_CENTER_DOWN" class="signatureLink">IDEOGRAPHIC_CENTER_DOWN</a> : String = ideographicCenterDown<div class="summaryTableDescription">[static] Specifies that leading basis is IDEOGRAPHIC_CENTER and leading direction is down.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#IDEOGRAPHIC_CENTER_UP" class="signatureLink">IDEOGRAPHIC_CENTER_UP</a> : String = ideographicCenterUp<div class="summaryTableDescription">[static] Specifies that leading basis is IDEOGRAPHIC_CENTER and leading direction is UP.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#IDEOGRAPHIC_TOP_DOWN" class="signatureLink">IDEOGRAPHIC_TOP_DOWN</a> : String = ideographicTopDown<div class="summaryTableDescription">[static] Specifies that leading basis is IDEOGRAPHIC_TOP and leading direction is DOWN.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#IDEOGRAPHIC_TOP_UP" class="signatureLink">IDEOGRAPHIC_TOP_UP</a> : String = ideographicTopUp<div class="summaryTableDescription">[static] Specifies that leading basis is IDEOGRAPHIC_TOP and leading direction is UP.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ROMAN_UP" class="signatureLink">ROMAN_UP</a> : String = romanUp<div class="summaryTableDescription">[static] Specifies that leading basis is ROMAN and leading direction is UP.</div></td><td class="summaryTableOwnerCol">LeadingModel</td></tr></table></div><script language="javascript" type="text/javascript"><!--
showHideInherited();
--></script><div class="MainContent"><div class="detailSectionHeader">Constant Detail</div><a name="constantDetail"></a><a name="APPROXIMATE_TEXT_FIELD"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">APPROXIMATE_TEXT_FIELD</td><td class="detailHeaderType">Constant</td></tr></table><div class="detailBody"><code>public static const APPROXIMATE_TEXT_FIELD:String = approximateTextField</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies a leading model that approximates the line spacing behavior of <code>TextField</code>.
It is similar to <code>ASCENT_DESCENT_UP</code> in that <code>lineHeight</code> refers to the
distance of a line's ascent baseline from the previous line's descent baseline. However, baseline
positions approximate those determined by <code>TextField</code>, rather than using metrics
offered by <code>TextLine</code>.
</p></div><a name="constantDetail"></a><a name="ASCENT_DESCENT_UP"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ASCENT_DESCENT_UP</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ASCENT_DESCENT_UP:String = ascentDescentUp</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading basis is ASCENT/DESCENT and leading direction is UP.
In other words, <code>lineHeight</code> refers to the distance of a line's ascent baseline from the
previous line's descent baseline.
</p></div><a name="constantDetail"></a><a name="AUTO"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">AUTO</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const AUTO:String = auto</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript #IDEOGRAPHIC_TOP_DOWN</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading model is chosen automatically based on the paragraph's <code>locale</code> property.
For Japanese and Chinese, it is IDEOGRAPHIC_TOP_DOWN and for all others it is ROMAN_UP.
</p></div><a name="constantDetail"></a><a name="BOX"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">BOX</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const BOX:String = box</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies a leading model based on the CSS inline formatting model, which involves stacking <i>line boxes</i> contiguously.
A <i>line box</i> is defined as the bounding box around <i>inline boxes</i> for all leaf elements on the text line, after they have been aligned
using <code>baselineShift</code>, <code>dominantBaseline</code>, <code>alignmentBaseline</code> etc. For a span, the <i>inline box</i>
is obtained by applying leading equally above and below the text content such that its height equals <code>lineHeight</code>.
For an inline graphic, <code>lineHeight</code> is ignored; the <i>inline box</i> is derived from its specified dimensions and padding values.
Also, <code>firstBaselineOffset</code> is ignored with this leading model.
<p>For more information, see <a href="http://blogs.adobe.com/tlf/2010/11/box-leading-model.html" target="">Box leading model</a>.</p>
</p></div><a name="constantDetail"></a><a name="IDEOGRAPHIC_CENTER_DOWN"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">IDEOGRAPHIC_CENTER_DOWN</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const IDEOGRAPHIC_CENTER_DOWN:String = ideographicCenterDown</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading basis is IDEOGRAPHIC_CENTER and leading direction is down.
In other words, <code>lineHeight</code> refers to the distance of a line's ideographic center
baseline from the next line's ideographic center baseline.
</p></div><a name="constantDetail"></a><a name="IDEOGRAPHIC_CENTER_UP"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">IDEOGRAPHIC_CENTER_UP</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const IDEOGRAPHIC_CENTER_UP:String = ideographicCenterUp</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading basis is IDEOGRAPHIC_CENTER and leading direction is UP.
In other words, <code>lineHeight</code> refers to the distance of a line's ideographic center
baseline from the previous line's ideographic center baseline.
</p></div><a name="constantDetail"></a><a name="IDEOGRAPHIC_TOP_DOWN"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">IDEOGRAPHIC_TOP_DOWN</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const IDEOGRAPHIC_TOP_DOWN:String = ideographicTopDown</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading basis is IDEOGRAPHIC_TOP and leading direction is DOWN.
In other words, <code>lineHeight</code> refers to the distance of a line's ideographic top baseline
from the next line's ideographic top baseline.
</p></div><a name="constantDetail"></a><a name="IDEOGRAPHIC_TOP_UP"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">IDEOGRAPHIC_TOP_UP</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const IDEOGRAPHIC_TOP_UP:String = ideographicTopUp</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading basis is IDEOGRAPHIC_TOP and leading direction is UP.
In other words, <code>lineHeight</code> refers to the distance of a line's ideographic top
baseline from the previous line's ideographic top baseline.
</p></div><a name="constantDetail"></a><a name="ROMAN_UP"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ROMAN_UP</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ROMAN_UP:String = romanUp</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> Specifies that leading basis is ROMAN and leading direction is UP.
In other words, <code>lineHeight</code> refers to the distance of a line's Roman baseline from the
previous line's Roman baseline.
</p></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Mar 25 2015, 07:57 PM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Mar 25 2015, 07:57 PM +01:00 -->