ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter DrawPie

DrawPie Statement:

Draw pie

Object.DrawPie xc, yc, w, h, s, e

Parameters:

xc,yc- – pie center coordinate
w,h- pie width and height
s,e- start and end angles [0 – 360].

Sample: object.DrawPie 50, 50, 30, 80, 0, 180

This method draws a Pie. DrawPie method differs from DrawArc in the calculation logic of start and end edges. DrawArc draws arcs proportional to circumference length. Before calling DrawPie method you may define line color and thickness with SetColor and SetLineWidth methods

See also

DrawArc,DrawFilledArc,DrawFilledPie,DrawPie

More samples:


Brush
Circle, Arc, Ellipse, Brush, Polygon, Pie

Diagram
Chart, Pie

Gradient
Arc, Besier, Circle, Ellipse, Gradient, Pie, Polygon, Rectangle, Unclosed polygon

Primitive
Arc, Beziers, Circle, Ellipse, Line, Pie, Rectangle, Unclosed polygon, Unclosed polygon



home samples purchase documentation download