blob: 0b597c4338ad36f6248db9bf3f1f46d51efb4cb7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="RadialGradientStroke,mx.graphics.RadialGradientStroke,CLIP,DEFAULT,GRADIENT_DIMENSION,HIGH,LETTERBOX,MAX_BITMAP_DIMENSION,REPEAT,SCALE,STRETCH,ZOOM,alpha,alpha,alpha,alpha,alpha,angle,angle,blRadius,blurX,blurY,brRadius,caps,caps,color,color,color,color,compoundTransform,compoundTransform,contentType,data,defaultEncoder,distance,entries,fillMode,focalPointRatio,focalPointRatio,height,interpolationMethod,joints,joints,joints,matrix,matrix,miterLimit,miterLimit,miterLimit,offsetX,offsetY,originX,originY,pixelHinting,pixelHinting,properties,ratio,repeat,rotation,rotation,scaleMode,scaleMode,scaleMode,scaleX,scaleX,scaleX,scaleX,scaleX,scaleY,scaleY,scaleY,smooth,source,spreadMethod,tlRadius,trRadius,transformX,transformY,weight,weight,weight,width,x,x,y,y"><title>mx.graphics.RadialGradientStroke</title></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
asdocTitle = 'RadialGradientStroke - 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>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?mx/graphics/RadialGradientStroke.html&amp;mx/graphics/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">RadialGradientStroke</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("RadialGradientStroke"); titleBar_setSubNav(true,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
-->
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">mx.graphics</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class RadialGradientStroke</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">RadialGradientStroke <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../mx/graphics/GradientStroke.html">GradientStroke</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../mx/graphics/GradientBase.html">GradientBase</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 :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p></p><p></p>
The RadialGradientStroke class lets you specify a gradient filled stroke.
You use the RadialGradientStroke class, along with the GradientEntry class,
to define a gradient stroke.
<p></p><p><span class="classHeaderTableLabel">Default MXML Property</span><code>entries</code></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="Stroke.html" target="">mx.graphics.Stroke</a><br/><a href="GradientEntry.html" target="">mx.graphics.GradientEntry</a><br/><a href="RadialGradient.html" target="">mx.graphics.RadialGradient</a><br/>flash.display.Graphics</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>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#angle" class="signatureLink">angle</a> : Number<div class="summaryTableDescription"><div xmlns:fn="http://www.w3.org/2005/xpath-functions" style="white-space:nowrap" valign="top"><b>Deprecated: </b>Please Use <A href="#rotation">rotation</A></div>
By default, the LinearGradientStroke defines a transition
from left to right across the control.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientStroke.html#caps" class="signatureLink">caps</a> : String<div class="summaryTableDescription">
Specifies the appearance of the ends of lines.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#entries" class="signatureLink">entries</a> : Array<div class="summaryTableDescription">
An Array of GradientEntry objects
defining the fill patterns for the gradient fill.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#focalPointRatio" class="signatureLink">focalPointRatio</a> : Number<div class="summaryTableDescription">
Sets the location of the start of the radial fill.</div></td><td class="summaryTableOwnerCol">RadialGradientStroke</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#interpolationMethod" class="signatureLink">interpolationMethod</a> : String<div class="summaryTableDescription">
A value from the InterpolationMethod class
that specifies which interpolation method to use.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientStroke.html#joints" class="signatureLink">joints</a> : String<div class="summaryTableDescription">
A value from the JointStyle class that specifies the type
of joint appearance used at angles.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#matrix" class="signatureLink">matrix</a> : Matrix<div class="summaryTableDescription">
An array of values used for matrix transformation.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientStroke.html#miterLimit" class="signatureLink">miterLimit</a> : Number<div class="summaryTableDescription">
A number that indicates the limit at which a miter is cut off.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientStroke.html#pixelHinting" class="signatureLink">pixelHinting</a> : Boolean<div class="summaryTableDescription">
A Boolean value that specifies whether to hint strokes to full pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#rotation" class="signatureLink">rotation</a> : Number<div class="summaryTableDescription">
By default, the LinearGradientStroke defines a transition
from left to right across the control.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientStroke.html#scaleMode" class="signatureLink">scaleMode</a> : String<div class="summaryTableDescription">
Specifies which scale mode to use.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#scaleX" class="signatureLink">scaleX</a> : Number<div class="summaryTableDescription">
The horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient
</div></td><td class="summaryTableOwnerCol">RadialGradientStroke</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#scaleY" class="signatureLink">scaleY</a> : Number<div class="summaryTableDescription">
The vertical scale of the gradient transform, which defines the height of the (unrotated) gradient
</div></td><td class="summaryTableOwnerCol">RadialGradientStroke</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#spreadMethod" class="signatureLink">spreadMethod</a> : String<div class="summaryTableDescription">
A value from the SpreadMethod class
that specifies which spread method to use.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientStroke.html#weight" class="signatureLink">weight</a> : Number<div class="summaryTableDescription">
The stroke weight, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#x" class="signatureLink">x</a> : Number<div class="summaryTableDescription">
The distance by which to translate each point along the x axis.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#y" class="signatureLink">y</a> : Number<div class="summaryTableDescription">
The distance by which to translate each point along the y axis.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</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>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProtectedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#compoundTransform" class="signatureLink">compoundTransform</a> : <a href="../../mx/geom/CompoundTransform.html">CompoundTransform</a><div class="summaryTableDescription">
Holds the matrix and the convenience transform properties (x, y, and rotation).</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</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>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#RadialGradientStroke()" class="signatureLink">RadialGradientStroke</a>(weight:Number = 1, pixelHinting:Boolean = false, scaleMode:String = normal, caps:String = round, joints:String = round, miterLimit:Number = 3)</div><div class="summaryTableDescription">
Constructor.</div></td><td class="summaryTableOwnerCol">RadialGradientStroke</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/graphics/GradientStroke.html#apply()" class="signatureLink">apply</a>(g:Graphics, targetBounds:Rectangle, targetOrigin:Point):void</div><div class="summaryTableDescription">
Applies the properties to the specified Graphics object.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/graphics/GradientStroke.html#createGraphicsStroke()" class="signatureLink">createGraphicsStroke</a>(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke</div><div class="summaryTableDescription">
Generates a GraphicsStroke object representing
this stroke.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientStroke.html">GradientStroke</a></td></tr></table></div><a name="constantSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Constants</div><div class="showHideLinks"><div id="hideInheritedConstant" class="hideInheritedConstant"><a class="showHideLink" href="#constantSummary" onclick="javascript:setInheritedVisible(false,'Constant');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Constants</a></div><div id="showInheritedConstant" class="showInheritedConstant"><a class="showHideLink" href="#constantSummary" onclick="javascript:setInheritedVisible(true,'Constant');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Constants</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable hideInheritedConstant" id="summaryTableConstant"><tr><th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedConstant"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../mx/graphics/GradientBase.html#GRADIENT_DIMENSION" class="signatureLink">GRADIENT_DIMENSION</a> : Number = 1638.4<div class="summaryTableDescription">[static]
Value of the width and height of the untransformed gradient
</div></td><td class="summaryTableOwnerCol"><a href="../../mx/graphics/GradientBase.html">GradientBase</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="focalPointRatio"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">focalPointRatio</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>focalPointRatio:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
Sets the location of the start of the radial fill.
<p>Valid values are from <code>-1.0</code> to <code>1.0</code>.
A value of <code>-1.0</code> sets the focal point
(or, start of the gradient fill)
on the left of the bounding Rectangle.
A value of <code>1.0</code> sets the focal point
on the right of the bounding Rectangle.
<p>If you use this property in conjunction
with the <code>angle</code> property,
this value specifies the degree of distance
from the center that the focal point occurs.
For example, with an angle of 45
and <code>focalPointRatio</code> of 0.25,
the focal point is slightly lower and to the right of center.
If you set <code>focalPointRatio</code> to <code>0</code>,
the focal point is in the middle of the bounding Rectangle.</p>
If you set <code>focalPointRatio</code> to <code>1</code>,
the focal point is all the way to the bottom right corner
of the bounding Rectangle.</p>
</p><p> The default value is <code>0.0</code>.</p><p>This property can be used as the source for data binding.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get focalPointRatio():Number</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set focalPointRatio(value:Number):void</code><br/></div><a name="propertyDetail"></a><a name="scaleX"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">scaleX</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>scaleX:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
The horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient
</p><p>This property can be used as the source for data binding.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get scaleX():Number</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set scaleX(value:Number):void</code><br/></div><a name="propertyDetail"></a><a name="scaleY"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">scaleY</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>scaleY:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p>
The vertical scale of the gradient transform, which defines the height of the (unrotated) gradient
</p><p>This property can be used as the source for data binding.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get scaleY():Number</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set scaleY(value:Number):void</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="RadialGradientStroke()"></a><a name="RadialGradientStroke(Number,Boolean,String,String,String,Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">RadialGradientStroke</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function RadialGradientStroke(weight:Number = 1, pixelHinting:Boolean = false, scaleMode:String = normal, caps:String = round, joints:String = round, miterLimit:Number = 3)</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p>
Constructor.
</p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">weight</span>:Number</code> (default = <code>1</code>)<code></code> &mdash; Specifies the line weight, in pixels.
This parameter is optional,
with a default value of <code>1</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">pixelHinting</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; A Boolean value that specifies
whether to hint strokes to full pixels.
This affects both the position of anchors of a curve
and the line stroke size itself.
With <code>pixelHinting</code> set to <code>true</code>,
Flash Player and AIR hint line widths to full pixel widths.
With <code>pixelHinting</code> set to <code>false</code>,
disjoints can appear for curves and straight lines.
This parameter is optional,
with a default value of <code>false</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">scaleMode</span>:String</code> (default = <code>normal</code>)<code></code> &mdash; A value from the LineScaleMode class
that specifies which scale mode to use.
Valid values are <code>LineScaleMode.HORIZONTAL</code>,
<code>LineScaleMode.NONE</code>, <code>LineScaleMode.NORMAL</code>,
and <code>LineScaleMode.VERTICAL</code>.
This parameter is optional,
with a default value of <code>LineScaleMode.NORMAL</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">caps</span>:String</code> (default = <code>round</code>)<code></code> &mdash; A value from the CapsStyle class
that specifies the type of caps at the end of lines.
Valid values are <code>CapsStyle.NONE</code>,
<code>CapsStyle.ROUND</code>, and <code>CapsStyle.SQUARE</code>.
A <code>null</code> value is equivalent to
<code>CapsStyle.ROUND</code>.
This parameter is optional,
with a default value of <code>CapsStyle.ROUND</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">joints</span>:String</code> (default = <code>round</code>)<code></code> &mdash; A value from the JointStyle class
that specifies the type of joint appearance used at angles.
Valid values are <code>JointStyle.BEVEL</code>,
<code>JointStyle.MITER</code>, and <code>JointStyle.ROUND</code>.
A <code>null</code> value is equivalent to
<code>JointStyle.ROUND</code>.
This parameter is optional,
with a default value of <code>JointStyle.ROUND</code>.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">miterLimit</span>:Number</code> (default = <code>3</code>)<code></code> &mdash; A number that indicates the limit
at which a miter is cut off.
Valid values range from 1 to 255
(and values outside of that range are rounded to 1 or 255).
This value is only used if the <code>jointStyle</code> property
is set to <code>miter</code>.
The <code>miterLimit</code> value represents the length that a miter
can extend beyond the point at which the lines meet to form a joint.
The value expresses a factor of the line <code>thickness</code>.
For example, with a <code>miterLimit</code> factor of 2.5 and a
<code>thickness</code> of 10 pixels, the miter is cut off at 25 pixels.
This parameter is optional,
with a default value of <code>3</code>.
</td></tr></table></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 -->