| <!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="Line,spark.primitives.Line,ON_DEMAND,ON_LOAD,alpha,angle,bitmapData,blRadius,blurX,blurY,bottomLeftRadiusX,bottomLeftRadiusY,bottomRightRadiusX,bottomRightRadiusY,brRadius,bytesLoaded,bytesTotal,clearOnLoad,color,contentLoader,contentLoaderGrouping,data,distance,fillMode,horizontalAlign,imageDecodingPolicy,preliminaryHeight,preliminaryWidth,radiusX,radiusY,scaleMode,smooth,smoothingQuality,source,sourceHeight,sourceWidth,tlRadius,topLeftRadiusX,topLeftRadiusY,topRightRadiusX,topRightRadiusY,trRadius,trustedSource,version,verticalAlign,viewHeight,viewWidth,winding,xFrom,xTo,yFrom,yTo,canSkipMeasurement,commitProperties,draw,draw,draw,draw,endDraw,getBoundsXAtSize,getBoundsXAtSize,getBoundsXAtSize,getBoundsYAtSize,getBoundsYAtSize,getBoundsYAtSize,invalidateDisplayObjectSharing,measure,measure,measure,measure,updateDisplayList"><title>spark.primitives.Line</title><script src="../../AC_OETags.js" type="text/javascript"></script></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 = 'Line - 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.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a> | <a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a> | <a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a> | <a id="framesLink1" href="../../index.html?spark/primitives/Line.html&spark/primitives/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">Line</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a> | <a href="#includeExamplesSummary">Examples</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve"> |
| <!-- |
| |
| if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Line"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,true,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')">spark.primitives</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Line</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">Line <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../spark/primitives/supportClasses/StrokedElement.html">StrokedElement</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> flash.events.EventDispatcher</td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p></p><p></p> |
| The Line class is a graphic element that draws a line between two points. |
| |
| <p>The default stroke for a line is undefined; therefore, if you do not specify |
| the stroke, the line is invisible.</p> |
| |
| <p></p><p><a href="#includeExamplesSummary">View the examples</a></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="../../mx/graphics/Stroke.html" target="">mx.graphics.Stroke</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#alpha" class="signatureLink">alpha</a> : Number<div class="summaryTableDescription"> |
| The level of transparency of the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#alwaysCreateDisplayObject" class="signatureLink">alwaysCreateDisplayObject</a> : Boolean<div class="summaryTableDescription"> |
| Specifies that this GraphicElement is to be associated with and be rendered |
| to its own DisplayObject.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#baseline" class="signatureLink">baseline</a> : Object<div class="summaryTableDescription"> |
| |
| The vertical distance in pixels from the anchor target to |
| the control's baseline position.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#baselinePosition" class="signatureLink">baselinePosition</a> : Number<div class="summaryTableDescription">[read-only] |
| The y-coordinate of the baseline |
| of the first line of text of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#blendMode" class="signatureLink">blendMode</a> : String<div class="summaryTableDescription"> |
| A value from the BlendMode class that specifies which blend mode to use.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#bottom" class="signatureLink">bottom</a> : Object<div class="summaryTableDescription"> |
| |
| The vertical distance in pixels from the bottom edge of the component to the |
| anchor target's bottom edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#depth" class="signatureLink">depth</a> : Number<div class="summaryTableDescription"> |
| |
| Determines the order in which items inside of containers |
| are rendered.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#designLayer" class="signatureLink">designLayer</a> : <a href="../../mx/core/DesignLayer.html">DesignLayer</a><div class="summaryTableDescription"> |
| Specifies the optional DesignLayer instance associated with this visual |
| element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#displayObject" class="signatureLink">displayObject</a> : DisplayObject<div class="summaryTableDescription">[read-only] |
| |
| The shared DisplayObject where this |
| IGraphicElement is drawn.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#displayObjectSharingMode" class="signatureLink">displayObjectSharingMode</a> : String<div class="summaryTableDescription"> |
| |
| Indicates the association between this IGraphicElement and its |
| display objects.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#explicitHeight" class="signatureLink">explicitHeight</a> : Number<div class="summaryTableDescription"> |
| Number that specifies the explicit height of the component, |
| in pixels, in the component's coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#explicitMaxHeight" class="signatureLink">explicitMaxHeight</a> : Number<div class="summaryTableDescription"> |
| The maximum recommended height of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#explicitMaxWidth" class="signatureLink">explicitMaxWidth</a> : Number<div class="summaryTableDescription"> |
| The maximum recommended width of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#explicitMinHeight" class="signatureLink">explicitMinHeight</a> : Number<div class="summaryTableDescription"> |
| The minimum recommended height of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#explicitMinWidth" class="signatureLink">explicitMinWidth</a> : Number<div class="summaryTableDescription"> |
| The minimum recommended width of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#explicitWidth" class="signatureLink">explicitWidth</a> : Number<div class="summaryTableDescription"> |
| Number that specifies the explicit width of the component, |
| in pixels, in the component's coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#filters" class="signatureLink">filters</a> : Array<div class="summaryTableDescription"> |
| An indexed array that contains each filter object currently associated with the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#hasLayoutMatrix3D" class="signatureLink">hasLayoutMatrix3D</a> : Boolean<div class="summaryTableDescription">[read-only] |
| |
| Contains true if the element has 3D Matrix.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#height" class="signatureLink">height</a> : Number<div class="summaryTableDescription"> |
| The height of the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#horizontalCenter" class="signatureLink">horizontalCenter</a> : Object<div class="summaryTableDescription"> |
| |
| The horizontal distance in pixels from the center of the component to the |
| center of the anchor target's content area.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#id" class="signatureLink">id</a> : String<div class="summaryTableDescription"> |
| The identity of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#includeInLayout" class="signatureLink">includeInLayout</a> : Boolean<div class="summaryTableDescription"> |
| Specifies whether this element is included in the layout of the parent.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#is3D" class="signatureLink">is3D</a> : Boolean<div class="summaryTableDescription">[read-only] |
| |
| Contains true when the element is in 3D.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#layoutDirection" class="signatureLink">layoutDirection</a> : String<div class="summaryTableDescription"> |
| |
| Specifies the desired layout direction for an element: one of LayoutDirection.LTR |
| (left to right), LayoutDirection.RTL (right to left), or null (inherit).</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#left" class="signatureLink">left</a> : Object<div class="summaryTableDescription"> |
| |
| The horizontal distance in pixels from the left edge of the component to the |
| anchor target's left edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#luminosityClip" class="signatureLink">luminosityClip</a> : Boolean<div class="summaryTableDescription"> |
| A property that controls whether the luminosity |
| mask clips the masked content.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#luminosityInvert" class="signatureLink">luminosityInvert</a> : Boolean<div class="summaryTableDescription"> |
| A property that controls the calculation of the RGB |
| color value of a graphic element being masked by |
| a luminosity mask.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#mask" class="signatureLink">mask</a> : DisplayObject<div class="summaryTableDescription"> |
| The calling display object is masked by the specified mask object.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#maskType" class="signatureLink">maskType</a> : String<div class="summaryTableDescription"> |
| Defines how the mask is applied to the GraphicElement. |
| |
| The possible values are MaskType.CLIP, MaskType.ALPHA, and |
| MaskType.LUMINOSITY. |
| |
| Clip Masking |
| |
| When masking in clip mode, a clipping masks is reduced to 1-bit.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#maxHeight" class="signatureLink">maxHeight</a> : Number<div class="summaryTableDescription"> |
| The maximum recommended height of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#maxWidth" class="signatureLink">maxWidth</a> : Number<div class="summaryTableDescription"> |
| The maximum recommended width of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#measuredHeight" class="signatureLink">measuredHeight</a> : Number<div class="summaryTableDescription"> |
| The default height of the component, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#measuredWidth" class="signatureLink">measuredWidth</a> : Number<div class="summaryTableDescription"> |
| The default width of the component, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#measuredX" class="signatureLink">measuredX</a> : Number<div class="summaryTableDescription"> |
| The default measured bounds top-left corner relative to the origin of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#measuredY" class="signatureLink">measuredY</a> : Number<div class="summaryTableDescription"> |
| The default measured bounds top-left corner relative to the origin of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#minHeight" class="signatureLink">minHeight</a> : Number<div class="summaryTableDescription"> |
| The minimum recommended height of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#minWidth" class="signatureLink">minWidth</a> : Number<div class="summaryTableDescription"> |
| The minimum recommended width of the component to be considered |
| by the parent during layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#MXMLDescriptor" class="signatureLink">MXMLDescriptor</a> : Array<div class="summaryTableDescription">[read-only] </div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#MXMLProperties" class="signatureLink">MXMLProperties</a> : Array<div class="summaryTableDescription">[read-only] </div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#owner" class="signatureLink">owner</a> : DisplayObjectContainer<div class="summaryTableDescription"> |
| |
| The owner of this IVisualElement object.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#parent" class="signatureLink">parent</a> : DisplayObjectContainer<div class="summaryTableDescription">[read-only] |
| |
| The parent container or component for this component.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#percentHeight" class="signatureLink">percentHeight</a> : Number<div class="summaryTableDescription"> |
| |
| Specifies the height of a component as a percentage |
| of its parent's size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#percentWidth" class="signatureLink">percentWidth</a> : Number<div class="summaryTableDescription"> |
| Specifies the width of a component as a percentage |
| of its parent's size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#postLayoutTransformOffsets" class="signatureLink">postLayoutTransformOffsets</a> : <a href="../../mx/geom/TransformOffsets.html">TransformOffsets</a><div class="summaryTableDescription"> |
| Defines a set of adjustments that can be applied to the object's |
| transform in a way that is invisible to its parent's layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#right" class="signatureLink">right</a> : Object<div class="summaryTableDescription"> |
| |
| The horizontal distance in pixels from the right edge of the component to the |
| anchor target's right edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#rotation" class="signatureLink">rotation</a> : Number<div class="summaryTableDescription"> |
| Indicates the rotation of the element, in degrees, |
| from the transform point.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#rotationX" class="signatureLink">rotationX</a> : Number<div class="summaryTableDescription"> |
| Indicates the x-axis rotation of the element instance, in degrees, from its original orientation |
| relative to the 3D parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#rotationY" class="signatureLink">rotationY</a> : Number<div class="summaryTableDescription"> |
| Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation |
| relative to the 3D parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#rotationZ" class="signatureLink">rotationZ</a> : Number<div class="summaryTableDescription"> |
| Indicates the rotation of the element, in degrees, |
| from the transform point.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#scaleX" class="signatureLink">scaleX</a> : Number<div class="summaryTableDescription"> |
| The horizontal scale (percentage) of the element |
| as applied from the transform point.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#scaleY" class="signatureLink">scaleY</a> : Number<div class="summaryTableDescription"> |
| The vertical scale (percentage) of the element |
| as applied from the transform point.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#scaleZ" class="signatureLink">scaleZ</a> : Number<div class="summaryTableDescription"> |
| The z scale (percentage) of the element |
| as applied from the transform point.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/StrokedElement.html#stroke" class="signatureLink">stroke</a> : <a href="../../mx/graphics/IStroke.html">IStroke</a><div class="summaryTableDescription"> |
| The stroke used by this element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/StrokedElement.html">StrokedElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#top" class="signatureLink">top</a> : Object<div class="summaryTableDescription"> |
| |
| The vertical distance in pixels from the top edge of the component to the |
| anchor target's top edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transform" class="signatureLink">transform</a> : Transform<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformX" class="signatureLink">transformX</a> : Number<div class="summaryTableDescription"> |
| The x position transform point of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformY" class="signatureLink">transformY</a> : Number<div class="summaryTableDescription"> |
| The y position transform point of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformZ" class="signatureLink">transformZ</a> : Number<div class="summaryTableDescription"> |
| The z position transform point of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#verticalCenter" class="signatureLink">verticalCenter</a> : Object<div class="summaryTableDescription"> |
| |
| The vertical distance in pixels from the center of the component to the |
| center of the anchor target's content area.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#visible" class="signatureLink">visible</a> : Boolean<div class="summaryTableDescription"> |
| |
| Controls the visibility of this visual element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#width" class="signatureLink">width</a> : Number<div class="summaryTableDescription"> |
| The width of the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#x" class="signatureLink">x</a> : Number<div class="summaryTableDescription"> |
| The x position of the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#xFrom" class="signatureLink">xFrom</a> : Number<div class="summaryTableDescription"> |
| The starting x position for the line.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#xTo" class="signatureLink">xTo</a> : Number<div class="summaryTableDescription"> |
| The ending x position for the line.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#y" class="signatureLink">y</a> : Number<div class="summaryTableDescription"> |
| The y position of the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#yFrom" class="signatureLink">yFrom</a> : Number<div class="summaryTableDescription"> |
| The starting y position for the line.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#yTo" class="signatureLink">yTo</a> : Number<div class="summaryTableDescription"> |
| The ending y position for the line.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#z" class="signatureLink">z</a> : Number<div class="summaryTableDescription"> |
| The z position of the graphic element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr></table></div><a name="protectedPropertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Properties</div><div class="showHideLinks"><div id="hideInheritedProtectedProperty" class="hideInheritedProtectedProperty"><a class="showHideLink" href="#protectedPropertySummary" onclick="javascript:setInheritedVisible(false,'ProtectedProperty');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Protected Properties</a></div><div id="showInheritedProtectedProperty" class="showInheritedProtectedProperty"><a class="showHideLink" href="#protectedPropertySummary" onclick="javascript:setInheritedVisible(true,'ProtectedProperty');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Protected Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable hideInheritedProtectedProperty" id="summaryTableProtectedProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#drawnDisplayObject" class="signatureLink">drawnDisplayObject</a> : DisplayObject<div class="summaryTableDescription">[read-only] |
| The actual DisplayObject that is drawn into by the GraphicElement.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#drawX" class="signatureLink">drawX</a> : Number<div class="summaryTableDescription">[read-only] |
| The x position where the element should be drawn.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#drawY" class="signatureLink">drawY</a> : Number<div class="summaryTableDescription">[read-only] |
| The y position where the element should be drawn.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#hasComplexLayoutMatrix" class="signatureLink">hasComplexLayoutMatrix</a> : Boolean<div class="summaryTableDescription">[read-only] |
| Returns true if the GraphicElement has any non-translation (x,y) transform properties |
| |
| </div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#layoutFeatures" class="signatureLink">layoutFeatures</a> : AdvancedLayoutFeatures<div class="summaryTableDescription"> |
| Contain all of the implementation details of how the GraphicElement implements |
| transform and layering support.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html#needsDisplayObject" class="signatureLink">needsDisplayObject</a> : Boolean<div class="summaryTableDescription">[read-only] |
| True if the element requires an exclusive DisplayObject.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#Line()" class="signatureLink">Line</a>()</div><div class="summaryTableDescription"> |
| Constructor.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#canShareWithNext()" class="signatureLink">canShareWithNext</a>(element:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a>):Boolean</div><div class="summaryTableDescription"> |
| |
| Returns true if this IGraphicElement is compatible and can |
| share display objects with the next IGraphicElement |
| in the sequence.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#canShareWithPrevious()" class="signatureLink">canShareWithPrevious</a>(element:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a>):Boolean</div><div class="summaryTableDescription"> |
| |
| Returns true if this IGraphicElement is compatible and can |
| share display objects with the previous IGraphicElement |
| in the sequence.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#createDisplayObject()" class="signatureLink">createDisplayObject</a>():DisplayObject</div><div class="summaryTableDescription"> |
| |
| Creates a new DisplayObject where this IGraphicElement |
| is drawn.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#generateMXMLArray()" class="signatureLink">generateMXMLArray</a>(document:Object, data:Array, recursive:Boolean = true):Array</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#generateMXMLVector()" class="signatureLink">generateMXMLVector</a>(document:Object, data:Array, recursive:Boolean = true):*</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getBoundsXAtSize()" class="signatureLink">getBoundsXAtSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the x coordinate of the element's bounds at the specified element size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getBoundsYAtSize()" class="signatureLink">getBoundsYAtSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the y coordinate of the element's bounds at the specified element size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getLayoutBoundsHeight()" class="signatureLink">getLayoutBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's layout height.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getLayoutBoundsWidth()" class="signatureLink">getLayoutBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's layout width.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getLayoutBoundsX()" class="signatureLink">getLayoutBoundsX</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the x coordinate that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getLayoutBoundsY()" class="signatureLink">getLayoutBoundsY</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the y coordinate that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getLayoutMatrix()" class="signatureLink">getLayoutMatrix</a>():Matrix</div><div class="summaryTableDescription"> |
| |
| Returns the transform matrix that is used to calculate the component's |
| layout relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getLayoutMatrix3D()" class="signatureLink">getLayoutMatrix3D</a>():Matrix3D</div><div class="summaryTableDescription"> |
| |
| Returns the layout transform Matrix3D for this element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getMaxBoundsHeight()" class="signatureLink">getMaxBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's maximum height.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getMaxBoundsWidth()" class="signatureLink">getMaxBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's maximum width.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getMinBoundsHeight()" class="signatureLink">getMinBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's minimum height.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getMinBoundsWidth()" class="signatureLink">getMinBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's minimum width.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getPreferredBoundsHeight()" class="signatureLink">getPreferredBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's preferred height.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getPreferredBoundsWidth()" class="signatureLink">getPreferredBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| |
| Returns the element's preferred width.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#initialized()" class="signatureLink">initialized</a>(document:Object, id:String):void</div><div class="summaryTableDescription"> |
| Called automatically by the MXML compiler when the GraphicElement |
| is created using an MXML tag.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#invalidateDisplayList()" class="signatureLink">invalidateDisplayList</a>():void</div><div class="summaryTableDescription"> |
| Calling this method results in a call to the elements's |
| validateDisplayList() method |
| before the display list is rendered.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#invalidateLayoutDirection()" class="signatureLink">invalidateLayoutDirection</a>():void</div><div class="summaryTableDescription"> |
| |
| An element must call this method when its layoutDirection changes or |
| when its parent's layoutDirection changes.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#invalidateProperties()" class="signatureLink">invalidateProperties</a>():void</div><div class="summaryTableDescription"> |
| Calling this method results in a call to the elements's |
| validateProperties() method |
| before the display list is rendered.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#invalidateSize()" class="signatureLink">invalidateSize</a>():void</div><div class="summaryTableDescription"> |
| Calling this method results in a call to the elements's |
| validateSize() method |
| before the display list is rendered.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#localToGlobal()" class="signatureLink">localToGlobal</a>(point:Point):Point</div><div class="summaryTableDescription"> |
| Converts the point object from the object's (local) coordinates |
| to the Stage (global) coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#parentChanged()" class="signatureLink">parentChanged</a>(value:<a href="../../spark/core/IGraphicElementContainer.html">IGraphicElementContainer</a>):void</div><div class="summaryTableDescription"> |
| |
| Called by IGraphicElementContainer when an IGraphicElement |
| is added to or removed from the host component.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setLayoutBoundsPosition()" class="signatureLink">setLayoutBoundsPosition</a>(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void</div><div class="summaryTableDescription"> |
| |
| Sets the coordinates that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setLayoutBoundsSize()" class="signatureLink">setLayoutBoundsSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):void</div><div class="summaryTableDescription"> |
| |
| Sets the layout size of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setLayoutMatrix()" class="signatureLink">setLayoutMatrix</a>(value:Matrix, invalidateLayout:Boolean):void</div><div class="summaryTableDescription"> |
| |
| Sets the transform Matrix that is used to calculate the component's layout |
| size and position relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setLayoutMatrix3D()" class="signatureLink">setLayoutMatrix3D</a>(value:Matrix3D, invalidateLayout:Boolean):void</div><div class="summaryTableDescription"> |
| |
| Sets the transform Matrix3D that is used to calculate the component's layout |
| size and position relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setMXMLDescriptor()" class="signatureLink">setMXMLDescriptor</a>(value:Array):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setMXMLProperties()" class="signatureLink">setMXMLProperties</a>(value:Array):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#setSharedDisplayObject()" class="signatureLink">setSharedDisplayObject</a>(sharedDisplayObject:DisplayObject):Boolean</div><div class="summaryTableDescription"> |
| |
| Determines whether this element can draw itself to the |
| sharedDisplayObject of the sequence.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformAround()" class="signatureLink">transformAround</a>(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void</div><div class="summaryTableDescription"> |
| A utility method to update the rotation, scale, and translation of the |
| transform while keeping a particular point, specified in the component's |
| own coordinate space, fixed in the parent's coordinate space.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformPointToParent()" class="signatureLink">transformPointToParent</a>(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void</div><div class="summaryTableDescription"> |
| A utility method to transform a point specified in the local |
| coordinates of this object to its location in the object's parent's |
| coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#validateDisplayList()" class="signatureLink">validateDisplayList</a>():void</div><div class="summaryTableDescription"> |
| |
| Called by the IGraphicElementContainer to redraw this element |
| in its displayObject property.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#validateNow()" class="signatureLink">validateNow</a>():void</div><div class="summaryTableDescription"> |
| Validates and updates the properties and layout of this object |
| by immediately calling validateProperties(), |
| validateSize(), and validateDisplayList(), |
| if necessary.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#validateProperties()" class="signatureLink">validateProperties</a>():void</div><div class="summaryTableDescription"> |
| Used by layout logic to validate the properties of a component |
| by calling the commitProperties() method.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#validateSize()" class="signatureLink">validateSize</a>():void</div><div class="summaryTableDescription"> |
| |
| Called by the IGraphicElementContainer to validate the size of |
| this element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr></table></div><a name="methodSummary"></a><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><div class="showHideLinks"><div id="hideInheritedProtectedMethod" class="hideInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(false,'ProtectedMethod');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Show Inherited Protected Methods</a></div><div id="showInheritedProtectedMethod" class="showInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(true,'ProtectedMethod');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Protected Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/StrokedElement.html#beginDraw()" class="signatureLink">beginDraw</a>(g:Graphics):void</div><div class="summaryTableDescription"> |
| Set up the drawing for this element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/StrokedElement.html">StrokedElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#canSkipMeasurement()" class="signatureLink">canSkipMeasurement</a>():Boolean</div><div class="summaryTableDescription">[override] |
| |
| Determines if the call to the measure() method can be skipped.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#commitProperties()" class="signatureLink">commitProperties</a>():void</div><div class="summaryTableDescription"> |
| Processes the properties set on the element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#draw()" class="signatureLink">draw</a>(g:Graphics):void</div><div class="summaryTableDescription">[override] |
| |
| Draw the element.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/StrokedElement.html#endDraw()" class="signatureLink">endDraw</a>(g:Graphics):void</div><div class="summaryTableDescription"> |
| Finalize drawing for this element.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/StrokedElement.html">StrokedElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#generateMXMLAttributes()" class="signatureLink">generateMXMLAttributes</a>(data:Array):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#generateMXMLInstances()" class="signatureLink">generateMXMLInstances</a>(document:Object, data:Array, recursive:Boolean = true):void</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#generateMXMLObject()" class="signatureLink">generateMXMLObject</a>(document:Object, data:Array):Object</div><div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#getStrokeExtents()" class="signatureLink">getStrokeExtents</a>(postLayoutTransform:Boolean = true):Rectangle</div><div class="summaryTableDescription"> |
| Returns the amount of pixels occupied by the stroke on each side |
| of the element's bounds.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#invalidateDisplayObjectSharing()" class="signatureLink">invalidateDisplayObjectSharing</a>():void</div><div class="summaryTableDescription"> |
| Utility method that notifies the host that this element has changed and needs |
| its layer to be updated.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#invalidateParentSizeAndDisplayList()" class="signatureLink">invalidateParentSizeAndDisplayList</a>():void</div><div class="summaryTableDescription"> |
| Helper method to invalidate parent size and display list if |
| this object affects its layout (includeInLayout is true).</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#measure()" class="signatureLink">measure</a>():void</div><div class="summaryTableDescription">[override] |
| |
| Calculates the default size of the element.</div></td><td class="summaryTableOwnerCol">Line</td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#preferredHeightPreTransform()" class="signatureLink">preferredHeightPreTransform</a>():Number</div><div class="summaryTableDescription"> |
| Used for the implementation of the ILayoutElement interface, |
| returns the explicit measured height pre-transform.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#preferredWidthPreTransform()" class="signatureLink">preferredWidthPreTransform</a>():Number</div><div class="summaryTableDescription"> |
| Used for the implementation of the ILayoutElement interface, |
| returns the explicit of measured width pre-transform.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformHeightForLayout()" class="signatureLink">transformHeightForLayout</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Transform the element's size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/GraphicElement.html#transformWidthForLayout()" class="signatureLink">transformWidthForLayout</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Transform the element's size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/primitives/supportClasses/StrokedElement.html#updateDisplayList()" class="signatureLink">updateDisplayList</a>(unscaledWidth:Number, unscaledHeight:Number):void</div><div class="summaryTableDescription">[override] |
| |
| Draws the element and/or sizes and positions its content.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/primitives/supportClasses/StrokedElement.html">StrokedElement</a></td></tr></table></div><script language="javascript" type="text/javascript"><!-- |
| showHideInherited(); |
| --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="xFrom"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">xFrom</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>xFrom:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| The starting x position for the line. |
| </p><p> The default value is <code>0</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get xFrom():Number</code><br/><code> public function set xFrom(value:Number):void</code><br/></div><a name="propertyDetail"></a><a name="xTo"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">xTo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>xTo:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| The ending x position for the line. |
| </p><p> The default value is <code>0</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get xTo():Number</code><br/><code> public function set xTo(value:Number):void</code><br/></div><a name="propertyDetail"></a><a name="yFrom"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">yFrom</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>yFrom:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| The starting y position for the line. |
| </p><p> The default value is <code>0</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get yFrom():Number</code><br/><code> public function set yFrom(value:Number):void</code><br/></div><a name="propertyDetail"></a><a name="yTo"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">yTo</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>yTo:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| The ending y position for the line. |
| </p><p> The default value is <code>0</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get yTo():Number</code><br/><code> public function set yTo(value:Number):void</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="Line()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">Line</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function Line()</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p> |
| Constructor. |
| |
| </p></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="canSkipMeasurement()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">canSkipMeasurement</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code>override protected function canSkipMeasurement():Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| |
| Determines if the call to the <code>measure()</code> method can be skipped. |
| |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> — Returns <code>true</code> when the <code>measureSizes()</code> method can skip the call to |
| the <code>measure()</code> method. For example this is usually <code>true</code> when both the <code>explicitWidth</code> and |
| <code>explicitHeight</code> properties are set. For paths, this is <code>true</code> when the bounds of the path |
| have not changed. |
| |
| </td></tr></table></div><a name="draw()"></a><a name="draw(flash.display.Graphics)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">draw</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>override protected function draw(g:Graphics):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| |
| Draw the element. This is the second of three steps taken during the drawing |
| process. Override this method to implement your drawing. The stroke |
| (and fill, if applicable) have been set in the <code>beginDraw()</code> method. |
| Your override should only contain calls to drawing methods such as |
| <code>moveTo()</code>, <code>curveTo()</code>, and <code>drawRect()</code>. |
| |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">g</span>:Graphics</code> — The graphic element to draw. |
| |
| </td></tr></table></p></div><a name="measure()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">measure</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>override protected function measure():void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </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> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p> |
| |
| Calculates the default size of the element. This is an advanced |
| method that you might override when creating a subclass of GraphicElement. |
| <p>You do not call this method directly. Flex calls the |
| <code>measure()</code> method when the element is added to an |
| <code>IGraphicElementContainer</code> container such as Group |
| using the <code>addElement()</code> method, and when the element's |
| <code>invalidateSize()</code> method is called. </p> |
| <p>By default you set both explicit height and explicit width of an element, |
| Flex does not call the <code>measure()</code> method, |
| even if you explicitly call the <code>invalidateSize()</code> method. |
| To override this behavior, override <code>skipMeasure()</code> method.</p> |
| <p>In your override of this method, you must set the |
| <code>measuredWidth</code> and <code>measuredHeight</code> properties |
| to define the default size. |
| You can optionally set the <code>measuredX</code> and |
| <code>measuredY</code> properties to define the default measured bounds |
| top-left corner relative to the origin of the element.</p> |
| <p>The conceptual point of <code>measure()</code> is for the element to |
| provide its own natural or intrinsic bounds as a default. Therefore, the |
| <code>measuredWidth</code> and <code>measuredHeight</code> properties |
| should be determined by factors such as:</p> |
| <ul> |
| <li>The amount of text the component needs to display.</li> |
| <li>The size of a JPEG image that the component displays.</li> |
| </ul> |
| <p>In some cases, there is no intrinsic way to determine default values. |
| For example, a simple GreenCircle element might simply set |
| measuredWidth = 100 and measuredHeight = 100 in its <code>measure()</code> method to |
| provide a reasonable default size. In other cases, such as a TextArea, |
| an appropriate computation (such as finding the right width and height |
| that would just display all the text and have the aspect ratio of a Golden Rectangle) |
| might be too time-consuming to be worthwhile.</p> |
| <p>The default implementation of <code>measure()</code> |
| sets the values of the <code>measuredWidth</code>, <code>measuredHeight</code>, |
| <code>measuredX</code>, and <code>measuredY</code> properties |
| to <code>0</code>.</p> |
| |
| </p></div><a name="includeExamplesSummary"></a><div class="detailSectionHeader">Examples</div><div class="exampleHeader">LineExample.mxml</div><div class="detailBody"><div class="listing"><pre><?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <!-- examples/LineExample.mxml --> |
| <s:Application |
| xmlns:fx="http://ns.adobe.com/mxml/2009" |
| xmlns:mx="library://ns.adobe.com/flex/mx" |
| xmlns:s="library://ns.adobe.com/flex/spark"> |
| |
| <mx:Panel title="Line MXML Graphic Example" |
| height="75%" width="75%" layout="horizontal" |
| paddingTop="30" paddingBottom="10" paddingLeft="10" paddingRight="10"> |
| |
| <s:Group x="20" y="20"> |
| <s:Line xFrom="0" xTo="0" yFrom="0" yTo="100"> |
| <!-- Define the border color of the line. --> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="1" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="6" xTo="6" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="1" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="12" xTo="12" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="2" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="20" xTo="20" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="3" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="30" xTo="30" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="5" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="43" xTo="43" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="8" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="58" xTo="58" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="13" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="84" xTo="84" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="21" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| <s:Line xFrom="123" xTo="123" yFrom="0" yTo="100"> |
| <s:stroke> |
| <s:SolidColorStroke color="0x000000" weight="34" caps="square"/> |
| </s:stroke> |
| </s:Line> |
| |
| </s:Group> |
| |
| </mx:Panel> |
| </s:Application> |
| </pre></div><script language="javascript" type="text/javascript"><!-- AC_FL_RunContent( "src", "examples/LineExample", "width", "100%", |
| "height","400px", "salign", "TL", "id", "example1", "quality", "high", "bgcolor", "", "name", |
| "example1", "flashvars","", "allowScriptAccess","sameDomain", "type", |
| "application/x-shockwave-flash","pluginspage", "http://www.macromedia.com/go/getflashplayer" ); --></script></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 --> |