DrawSlice

void DrawSlice(
const Rgba &color,
float startAngle, float angleSweep )
Draws a slice of the ellipse so that the slice starts from startAngle and fills angleSweep angles.

void DrawSlice(
const Rgba &innerColor, const Rgba &outerColor,
float startAngle, float angleSweep )

Draws a gradient filled slice so that the colors change smoothly along the radius.

Other functions of the class Ellipse
Draw
Draws the ellipse filled with the specified color
DrawOutline
Draws the outline of the ellipse
DrawSlice
Draws a slice of the ellipse
DrawDisk
Draws a filled disk
DrawArc
Draws a filled arc of an ellipse
SetRadius
Sets the x or y radius of the ellipse
GetRadius
Returns the x or y axis of the ellipse


Questions about DrawSlice? Click here.