File: EllipseSliceGradient.html

package info (click to toggle)
openlayer 2.1-2.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,392 kB
  • ctags: 2,317
  • sloc: ansic: 10,433; cpp: 9,890; xml: 109; makefile: 90; sh: 36
file content (11 lines) | stat: -rw-r--r-- 3,512 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transistional//EN"><html><head><title>OpenLayer Offline Manual</title><style type="text/css" media="all">@import "CrystalStyle.css";</style><body bgcolor="FFFFFF" ><div align="center" style="pagestyle"><table width="60%"><tr><td><div class="BigHeader">EllipseSliceGradient</div><br><div class=""><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><font color="#777733">static</font> <font color="#777733">void</font> <a href="<a href="<a href="GfxRend.html"><font color="#0000CC">GfxRend</font></a>/EllipseSlice.html"><font color="#0000CC">EllipseSlice</font></a>Gradient.html"><font color="#0000CC">EllipseSliceGradient</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">float</font> x, <font color="#777733">float</font> y, <font color="#777733">float</font> xRad, <font color="#777733">float</font> yRad,
<br><a href="Rgba.html"><font color="#0000CC">Rgba</font></a> innerColor, <a href="Rgba.html"><font color="#0000CC">Rgba</font></a> outerColor,
<br><font color="#777733">float</font> startAngle, <font color="#777733">float</font> sweepAngle,
<br><font color="#777733">float</font> angle = <font color="#994400">0.0</font>, <font color="#777733">float</font> accuracy = <font color="#770044">[default]</font> );
<br></strong></div></td></tr></table>
<br>Draws a gradient filled slice of an ellipse with colors changing smoothly from innerColor to outerColor along the radius. 
<br></div>
<br>The centre of the ellipse of which the slice is cut is positioned at the given coordinates. The slice will start at the given radial angle startAngle and will end to startAngle + sweepAngle.</div><br><div class="MediumHeader">Examples</div><br><div class="Code"><font color="#999922">//&nbsp;Draw&nbsp;a&nbsp;filled&nbsp;first&nbsp;quarter&nbsp;of&nbsp;an&nbsp;ellipse&nbsp;which&nbsp;horizontal&nbsp;radius&nbsp;is&nbsp;70.0&nbsp;and&nbsp;//</font>
<br><font color="#999922">//&nbsp;vertical&nbsp;radius&nbsp;is&nbsp;50.0&nbsp;and&nbsp;colors&nbsp;changing&nbsp;smoothly&nbsp;from&nbsp;white&nbsp;to&nbsp;black&nbsp;//</font>
<br><font color="#999922">//&nbsp;along&nbsp;the&nbsp;radius&nbsp;//</font>
<br><a href="GfxRend.html"><font color="#0000CC">GfxRend</font></a>::<a href="<a href="<a href="GfxRend.html"><font color="#0000CC">GfxRend</font></a>/EllipseSlice.html"><font color="#0000CC">EllipseSlice</font></a>Gradient.html"><font color="#0000CC">EllipseSliceGradient</font></a>(&nbsp;<font color="#994400">200.0</font>,&nbsp;<font color="#994400">100.0</font>,&nbsp;<font color="#994400">70.0</font>,&nbsp;<font color="#994400">50.0</font>,&nbsp;<font color="#994400">0.0</font>,&nbsp;AL_PI/<font color="#994400">4</font>,&nbsp;<a href="Rgba.html"><font color="#0000CC">Rgba</font></a>::WHITE,&nbsp;<a href="Rgba.html"><font color="#0000CC">Rgba</font></a>::BLACK&nbsp;);&nbsp;</div><div class=""><br><br><div class="MediumHeader">Other functions of the class </div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td width="35%" halign="center"><a href="EllipseSliceGradient.html">EllipseSliceGradient</a></td><td width="65%" halign="center"></td></tr></table></div><br><div class=""><a href="index.html">Back to the main page of the manual</a></div><br>Questions about EllipseSliceGradient? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=EllipseSliceGradient">here.</a></div></td></tr></table></body></html>