PieShape(X1,Y1,X2,Y2,X3,Y3,X4,Y4)

Draws a pie-shaped wedge on the image.

The wedge is defined by the ellipse bound by the rectangle determined by the points (X1, Y1) and (X2, Y2). The section drawn is determined by two lines radiating from the center of the ellipse through the points (X3, Y3) and (X4, Y4).

Parameters
  • X1. Integer.
  • Y1. Integer.
  • X2. Integer.
  • Y2. Integer.
  • X3. Integer.
  • Y3. Integer.
  • X4. Integer.
  • Y4. Integer.
Examples
Copy
Graphic.PieShape(10,10,25,25,30,30,40,40);