OpenLayer Offline Manual

EllipseSliceGradient
static void GfxRend/EllipseSlice.html">EllipseSliceGradient.html">EllipseSliceGradient( | float x, float y, float xRad, float yRad, Rgba innerColor, Rgba outerColor, float startAngle, float sweepAngle, float angle = 0.0, float accuracy = [default] );
Draws a gradient filled slice of an ellipse with colors changing smoothly from innerColor to outerColor along the radius. 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. Examples // Draw a filled first quarter of an ellipse which horizontal radius is 70.0 and // // vertical radius is 50.0 and colors changing smoothly from white to black // // along the radius // GfxRend::GfxRend/EllipseSlice.html">EllipseSliceGradient.html">EllipseSliceGradient( 200.0, 100.0, 70.0, 50.0, 0.0, AL_PI/4, Rgba::WHITE, Rgba::BLACK ); Other functions of the class
EllipseSliceGradient |
Back to the main page of the manual Questions about EllipseSliceGradient? Click here.