/docs/com/google/maps/extras/gradients/GradientRule.html
HTML | 532 lines | 520 code | 3 blank | 9 comment | 0 complexity | a00a561658adc11a9ba3ec1445de148e MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen"> 6<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print"> 7<meta content="GradientRule,com.google.maps.extras.gradients.GradientRule,maxPercent,minPercent,applyGradientToValueList,createFlatGradient,createValueColorGradients,fillFromNext,fillFromPrev,fillMax,fillMin,fillValueColorFromChildren,fillValueColorFromParent,fillValueColorFromSiblings,fromXML" name="keywords"> 8<title>com.google.maps.extras.gradients.GradientRule</title> 9</head> 10<body> 11<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript"> 12<!-- 13 asdocTitle = 'GradientRule - API Documentation'; 14 var baseRef = '../../../../../'; 15 window.onload = configPage; 16 --></script> 17<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable"> 18<tr> 19<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All Packages</a> | <a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All Classes</a> | <a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a> | <a href="../../../../../index.html?com/google/maps/extras/gradients/GradientRule.html&com/google/maps/extras/gradients/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td> 20</tr> 21<tr class="titleTableRow2"> 22<td align="left" id="subTitle" class="titleTableSubTitle">Class GradientRule</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td> 23</tr> 24<tr class="titleTableRow3"> 25<td colspan="2"> </td> 26</tr> 27</table> 28<script type="text/javascript" language="javascript"> 29<!-- 30if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class GradientRule"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);} 31--></script> 32<div class="MainContent"> 33<table cellspacing="0" cellpadding="0" class="classHeaderTable"> 34<tr> 35<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.google.maps.extras.gradients</a></td> 36</tr> 37<tr> 38<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class GradientRule</td> 39</tr> 40<tr> 41<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">GradientRule <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../../images/inherit-arrow.gif"> <a href="Range.html">Range</a></td> 42</tr> 43<tr> 44<td class="classHeaderTableLabel">Subclasses</td><td><a href="../gradients/GradientRuleList.html">GradientRuleList</a></td> 45</tr> 46</table> 47<p></p> 48 GradientRule is a basic building block for gradient configurations. 49 One GradientRule object corresponds to a gradient transition 50 between two color values. Together with other GradientRule objects, 51 it sholud be contained in GradientRuleList to form a full gradient config. 52 53 <p></p> 54<br> 55<hr> 56</div> 57<a name="propertySummary"></a> 58<div class="summarySection"> 59<div class="summaryTableTitle">Public Properties</div> 60<div class="showHideLinks"> 61<div class="hideInheritedProperty" id="hideInheritedProperty"> 62<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a> 63</div> 64<div class="showInheritedProperty" id="showInheritedProperty"> 65<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a> 66</div> 67</div> 68<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0"> 69<tr> 70<th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined by</th> 71</tr> 72<tr class="hideInheritedProperty"> 73<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#maxColor">maxColor</a> : Number = NaN<div class="summaryTableDescription"></div> 74</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 75</tr> 76<tr class=""> 77<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#maxPercent">maxPercent</a> : Number<div class="summaryTableDescription">[write-only] 78 End of a percentage range.</div> 79</td><td class="summaryTableOwnerCol">GradientRule</td> 80</tr> 81<tr class="hideInheritedProperty"> 82<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#maxValue">maxValue</a> : Number = NaN<div class="summaryTableDescription"></div> 83</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 84</tr> 85<tr class="hideInheritedProperty"> 86<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#minColor">minColor</a> : Number = NaN<div class="summaryTableDescription"></div> 87</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 88</tr> 89<tr class=""> 90<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#minPercent">minPercent</a> : Number<div class="summaryTableDescription">[write-only] 91 Start of a percentage range.</div> 92</td><td class="summaryTableOwnerCol">GradientRule</td> 93</tr> 94<tr class="hideInheritedProperty"> 95<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#minValue">minValue</a> : Number = NaN<div class="summaryTableDescription"></div> 96</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 97</tr> 98</table> 99</div> 100<a name="protectedPropertySummary"></a> 101<div class="summarySection"> 102<div class="summaryTableTitle">Protected Properties</div> 103<div class="showHideLinks"> 104<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty"> 105<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Properties</a> 106</div> 107<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty"> 108<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Properties</a> 109</div> 110</div> 111<table id="summaryTableProtectedProperty" class="summaryTable hideInheritedProtectedProperty" cellpadding="3" cellspacing="0"> 112<tr> 113<th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined by</th> 114</tr> 115<tr class="hideInheritedProtectedProperty"> 116<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#_maxPercent">_maxPercent</a> : Number = NaN<div class="summaryTableDescription"> Backing for minPercent.</div> 117</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 118</tr> 119<tr class="hideInheritedProtectedProperty"> 120<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#MAX_PERCENT">MAX_PERCENT</a> : Number = 100<div class="summaryTableDescription">[static]</div> 121</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 122</tr> 123<tr class="hideInheritedProtectedProperty"> 124<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#_minPercent">_minPercent</a> : Number = NaN<div class="summaryTableDescription"></div> 125</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 126</tr> 127<tr class="hideInheritedProtectedProperty"> 128<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Range.html#MIN_PERCENT">MIN_PERCENT</a> : Number = 0<div class="summaryTableDescription">[static]</div> 129</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 130</tr> 131</table> 132</div> 133<a name="methodSummary"></a> 134<div class="summarySection"> 135<div class="summaryTableTitle">Public Methods</div> 136<div class="showHideLinks"> 137<div class="hideInheritedMethod" id="hideInheritedMethod"> 138<a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Methods</a> 139</div> 140<div class="showInheritedMethod" id="showInheritedMethod"> 141<a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Methods</a> 142</div> 143</div> 144<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0"> 145<tr> 146<th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined by</th> 147</tr> 148<tr class=""> 149<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 150<div class="summarySignature"> 151<a class="signatureLink" href="#GradientRule()">GradientRule</a>()</div> 152<div class="summaryTableDescription"></div> 153</td><td class="summaryTableOwnerCol">GradientRule</td> 154</tr> 155<tr class=""> 156<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 157<div class="summarySignature"> 158<a class="signatureLink" href="#applyGradientToValueList()">applyGradientToValueList</a>(dataValues:Array):<a href="../gradients/GradientControl.html">GradientControl</a> 159</div> 160<div class="summaryTableDescription"> 161 Create a new instance of this class from an XML config 162 </div> 163</td><td class="summaryTableOwnerCol">GradientRule</td> 164</tr> 165<tr class=""> 166<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 167<div class="summarySignature"> 168<a class="signatureLink" href="#createValueColorGradients()">createValueColorGradients</a>(parent:<a href="Range.html">Range</a>):Array</div> 169<div class="summaryTableDescription"></div> 170</td><td class="summaryTableOwnerCol">GradientRule</td> 171</tr> 172<tr class=""> 173<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 174<div class="summarySignature"> 175<a class="signatureLink" href="#fillFromNext()">fillFromNext</a>(next:<a href="GradientRule.html">GradientRule</a>, fillPercent:Boolean = true):void</div> 176<div class="summaryTableDescription"></div> 177</td><td class="summaryTableOwnerCol">GradientRule</td> 178</tr> 179<tr class=""> 180<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 181<div class="summarySignature"> 182<a class="signatureLink" href="#fillFromPrev()">fillFromPrev</a>(prev:<a href="GradientRule.html">GradientRule</a>, fillPercent:Boolean = true):void</div> 183<div class="summaryTableDescription"></div> 184</td><td class="summaryTableOwnerCol">GradientRule</td> 185</tr> 186<tr class=""> 187<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 188<div class="summarySignature"> 189<a class="signatureLink" href="#fillMax()">fillMax</a>(other:<a href="GradientRule.html">GradientRule</a>):void</div> 190<div class="summaryTableDescription"></div> 191</td><td class="summaryTableOwnerCol">GradientRule</td> 192</tr> 193<tr class=""> 194<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 195<div class="summarySignature"> 196<a class="signatureLink" href="#fillMin()">fillMin</a>(other:<a href="GradientRule.html">GradientRule</a>):void</div> 197<div class="summaryTableDescription"></div> 198</td><td class="summaryTableOwnerCol">GradientRule</td> 199</tr> 200<tr class=""> 201<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 202<div class="summarySignature"> 203<a class="signatureLink" href="#fillValueColorFromChildren()">fillValueColorFromChildren</a>():void</div> 204<div class="summaryTableDescription"></div> 205</td><td class="summaryTableOwnerCol">GradientRule</td> 206</tr> 207<tr class=""> 208<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 209<div class="summarySignature"> 210<a class="signatureLink" href="#fillValueColorFromParent()">fillValueColorFromParent</a>(parent:<a href="GradientRule.html">GradientRule</a>):void</div> 211<div class="summaryTableDescription"></div> 212</td><td class="summaryTableOwnerCol">GradientRule</td> 213</tr> 214<tr class=""> 215<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 216<div class="summarySignature"> 217<a class="signatureLink" href="#fillValueColorFromSiblings()">fillValueColorFromSiblings</a>():void</div> 218<div class="summaryTableDescription"></div> 219</td><td class="summaryTableOwnerCol">GradientRule</td> 220</tr> 221<tr class=""> 222<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 223<div class="summarySignature"> 224<a class="signatureLink" href="#fromXML()">fromXML</a>(xml:XML):<a href="../gradients/GradientRule.html">GradientRule</a> 225</div> 226<div class="summaryTableDescription">[static] 227 Create a new instance of this class from an XML config 228 </div> 229</td><td class="summaryTableOwnerCol">GradientRule</td> 230</tr> 231<tr class="hideInheritedMethod"> 232<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"> 233<div class="summarySignature"> 234<a class="signatureLink" href="Range.html#getRgbColorDict()">getRgbColorDict</a>():Object</div> 235<div class="summaryTableDescription"></div> 236</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 237</tr> 238<tr class="hideInheritedMethod"> 239<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"> 240<div class="summarySignature"> 241<a class="signatureLink" href="Range.html#getValueDict()">getValueDict</a>():Object</div> 242<div class="summaryTableDescription"></div> 243</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 244</tr> 245<tr class="hideInheritedMethod"> 246<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"> 247<div class="summarySignature"> 248<a class="signatureLink" href="Range.html#rgbColorDictString()">rgbColorDictString</a>():String</div> 249<div class="summaryTableDescription"> 250 String representation of the color ranges of this object 251 </div> 252</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 253</tr> 254<tr class="hideInheritedMethod"> 255<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"> 256<div class="summarySignature"> 257<a class="signatureLink" href="Range.html#toString()">toString</a>():String</div> 258<div class="summaryTableDescription"> 259 String representation of this object 260 </div> 261</td><td class="summaryTableOwnerCol"><a href="Range.html">Range</a></td> 262</tr> 263</table> 264</div> 265<a name="protectedMethodSummary"></a> 266<div class="summarySection"> 267<div class="summaryTableTitle">Protected Methods</div> 268<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0"> 269<tr> 270<th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined by</th> 271</tr> 272<tr class=""> 273<td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"> 274<div class="summarySignature"> 275<a class="signatureLink" href="#createFlatGradient()">createFlatGradient</a>():<a href="../gradients/ValueColorGradient.html">ValueColorGradient</a> 276</div> 277<div class="summaryTableDescription"></div> 278</td><td class="summaryTableOwnerCol">GradientRule</td> 279</tr> 280</table> 281</div> 282<script type="text/javascript" language="javascript"> 283<!-- 284showHideInherited(); 285--></script> 286<div class="MainContent"> 287<a name="propertyDetail"></a> 288<div class="detailSectionHeader">Property detail</div> 289<a name="maxPercent"></a> 290<table cellspacing="0" cellpadding="0" class="detailHeader"> 291<tr> 292<td class="detailHeaderName">maxPercent</td><td class="detailHeaderType">property</td> 293</tr> 294</table> 295<div class="detailBody"> 296<code>maxPercent:Number</code> [write-only]<p> 297 End of a percentage range. Values are forced to be less than 298 MAX_PERCENT. 299 </p><span class="label">Implementation</span> 300<br> 301<code> public function set maxPercent(value:Number):void</code> 302<br> 303</div> 304<a name="minPercent"></a> 305<table cellspacing="0" cellpadding="0" class="detailHeader"> 306<tr> 307<td class="detailHeaderName">minPercent</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td> 308</tr> 309</table> 310<div class="detailBody"> 311<code>minPercent:Number</code> [write-only]<p> 312 Start of a percentage range. Values are forced to be greater than 313 MIN_PERCENT. 314 </p><span class="label">Implementation</span> 315<br> 316<code> public function set minPercent(value:Number):void</code> 317<br> 318</div> 319<a name="constructorDetail"></a> 320<div class="detailSectionHeader">Constructor detail</div> 321<a name="GradientRule()"></a> 322<table cellspacing="0" cellpadding="0" class="detailHeader"> 323<tr> 324<td class="detailHeaderName">GradientRule</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td> 325</tr> 326</table> 327<div class="detailBody"> 328<code>public function GradientRule()</code> 329</div> 330<a name="methodDetail"></a> 331<div class="detailSectionHeader">Method detail</div> 332<a name="applyGradientToValueList()"></a> 333<table cellspacing="0" cellpadding="0" class="detailHeader"> 334<tr> 335<td class="detailHeaderName">applyGradientToValueList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td> 336</tr> 337</table> 338<div class="detailBody"> 339<code>public function applyGradientToValueList(dataValues:Array):<a href="../gradients/GradientControl.html">GradientControl</a></code><p> 340 Create a new instance of this class from an XML config 341 </p><span class="label">Parameters</span> 342<table border="0" cellspacing="0" cellpadding="0"> 343<tr> 344<td width="20px"></td><td><code><span class="label">dataValues</span>:Array</code> — An array of numbers 345 </td> 346</tr> 347</table> 348<p></p> 349<span class="label">Returns</span> 350<table border="0" cellspacing="0" cellpadding="0"> 351<tr> 352<td width="20"></td><td><code><a href="../gradients/GradientControl.html">GradientControl</a></code> — 353 A new GradientControl objects with this object's 354 gradient config applied to the specified values 355 356 357 </td> 358</tr> 359</table> 360</div> 361<a name="createFlatGradient()"></a> 362<table cellspacing="0" cellpadding="0" class="detailHeader"> 363<tr> 364<td class="detailHeaderName">createFlatGradient</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 365</tr> 366</table> 367<div class="detailBody"> 368<code>protected function createFlatGradient():<a href="../gradients/ValueColorGradient.html">ValueColorGradient</a></code> 369<p></p> 370<span class="label">Returns</span> 371<table border="0" cellspacing="0" cellpadding="0"> 372<tr> 373<td width="20"></td><td><code><a href="../gradients/ValueColorGradient.html">ValueColorGradient</a></code></td> 374</tr> 375</table> 376</div> 377<a name="createValueColorGradients()"></a> 378<table cellspacing="0" cellpadding="0" class="detailHeader"> 379<tr> 380<td class="detailHeaderName">createValueColorGradients</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 381</tr> 382</table> 383<div class="detailBody"> 384<code>public function createValueColorGradients(parent:<a href="Range.html">Range</a>):Array</code><span class="label">Parameters</span> 385<table border="0" cellspacing="0" cellpadding="0"> 386<tr> 387<td width="20px"></td><td><code><span class="label">parent</span>:<a href="Range.html">Range</a></code></td> 388</tr> 389</table> 390<p></p> 391<span class="label">Returns</span> 392<table border="0" cellspacing="0" cellpadding="0"> 393<tr> 394<td width="20"></td><td><code>Array</code></td> 395</tr> 396</table> 397</div> 398<a name="fillFromNext()"></a> 399<table cellspacing="0" cellpadding="0" class="detailHeader"> 400<tr> 401<td class="detailHeaderName">fillFromNext</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 402</tr> 403</table> 404<div class="detailBody"> 405<code>public function fillFromNext(next:<a href="GradientRule.html">GradientRule</a>, fillPercent:Boolean = true):void</code><span class="label">Parameters</span> 406<table border="0" cellspacing="0" cellpadding="0"> 407<tr> 408<td width="20px"></td><td><code><span class="label">next</span>:<a href="GradientRule.html">GradientRule</a></code></td> 409</tr> 410<tr> 411<td class="paramSpacer"> </td> 412</tr> 413<tr> 414<td width="20px"></td><td><code><span class="label">fillPercent</span>:Boolean</code> (default = <code>true</code>)<code></code></td> 415</tr> 416</table> 417</div> 418<a name="fillFromPrev()"></a> 419<table cellspacing="0" cellpadding="0" class="detailHeader"> 420<tr> 421<td class="detailHeaderName">fillFromPrev</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 422</tr> 423</table> 424<div class="detailBody"> 425<code>public function fillFromPrev(prev:<a href="GradientRule.html">GradientRule</a>, fillPercent:Boolean = true):void</code><span class="label">Parameters</span> 426<table border="0" cellspacing="0" cellpadding="0"> 427<tr> 428<td width="20px"></td><td><code><span class="label">prev</span>:<a href="GradientRule.html">GradientRule</a></code></td> 429</tr> 430<tr> 431<td class="paramSpacer"> </td> 432</tr> 433<tr> 434<td width="20px"></td><td><code><span class="label">fillPercent</span>:Boolean</code> (default = <code>true</code>)<code></code></td> 435</tr> 436</table> 437</div> 438<a name="fillMax()"></a> 439<table cellspacing="0" cellpadding="0" class="detailHeader"> 440<tr> 441<td class="detailHeaderName">fillMax</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 442</tr> 443</table> 444<div class="detailBody"> 445<code>public function fillMax(other:<a href="GradientRule.html">GradientRule</a>):void</code><span class="label">Parameters</span> 446<table border="0" cellspacing="0" cellpadding="0"> 447<tr> 448<td width="20px"></td><td><code><span class="label">other</span>:<a href="GradientRule.html">GradientRule</a></code></td> 449</tr> 450</table> 451</div> 452<a name="fillMin()"></a> 453<table cellspacing="0" cellpadding="0" class="detailHeader"> 454<tr> 455<td class="detailHeaderName">fillMin</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 456</tr> 457</table> 458<div class="detailBody"> 459<code>public function fillMin(other:<a href="GradientRule.html">GradientRule</a>):void</code><span class="label">Parameters</span> 460<table border="0" cellspacing="0" cellpadding="0"> 461<tr> 462<td width="20px"></td><td><code><span class="label">other</span>:<a href="GradientRule.html">GradientRule</a></code></td> 463</tr> 464</table> 465</div> 466<a name="fillValueColorFromChildren()"></a> 467<table cellspacing="0" cellpadding="0" class="detailHeader"> 468<tr> 469<td class="detailHeaderName">fillValueColorFromChildren</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 470</tr> 471</table> 472<div class="detailBody"> 473<code>public function fillValueColorFromChildren():void</code> 474</div> 475<a name="fillValueColorFromParent()"></a> 476<table cellspacing="0" cellpadding="0" class="detailHeader"> 477<tr> 478<td class="detailHeaderName">fillValueColorFromParent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 479</tr> 480</table> 481<div class="detailBody"> 482<code>public function fillValueColorFromParent(parent:<a href="GradientRule.html">GradientRule</a>):void</code><span class="label">Parameters</span> 483<table border="0" cellspacing="0" cellpadding="0"> 484<tr> 485<td width="20px"></td><td><code><span class="label">parent</span>:<a href="GradientRule.html">GradientRule</a></code></td> 486</tr> 487</table> 488</div> 489<a name="fillValueColorFromSiblings()"></a> 490<table cellspacing="0" cellpadding="0" class="detailHeader"> 491<tr> 492<td class="detailHeaderName">fillValueColorFromSiblings</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 493</tr> 494</table> 495<div class="detailBody"> 496<code>public function fillValueColorFromSiblings():void</code> 497</div> 498<a name="fromXML()"></a> 499<table cellspacing="0" cellpadding="0" class="detailHeader"> 500<tr> 501<td class="detailHeaderName">fromXML</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td> 502</tr> 503</table> 504<div class="detailBody"> 505<code>public static function fromXML(xml:XML):<a href="../gradients/GradientRule.html">GradientRule</a></code><p> 506 Create a new instance of this class from an XML config 507 </p><span class="label">Parameters</span> 508<table border="0" cellspacing="0" cellpadding="0"> 509<tr> 510<td width="20px"></td><td><code><span class="label">xml</span>:XML</code> — An XML configuration specifying gradient config 511 </td> 512</tr> 513</table> 514<p></p> 515<span class="label">Returns</span> 516<table border="0" cellspacing="0" cellpadding="0"> 517<tr> 518<td width="20"></td><td><code><a href="../gradients/GradientRule.html">GradientRule</a></code></td> 519</tr> 520</table> 521</div> 522<br> 523<br> 524<hr> 525<br> 526<p></p> 527<center class="copyright"> 528</center> 529</div> 530</body> 531</html> 532<!-- -->