Draws and fills a pie slice on the canvas
Namespace: RSGraphics
Delphi |
procedure DrawPieSlice( const Canvas: TCanvas; ARect: TCanvasRect; |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
ARect
Type: System.Void
Rectangle that contains the entire pie
StartDegrees
Type: Double
Start angle for the pie slice
StopDegrees
Type: Double
End angle for the pie slice
Offset
Type: Integer
Offset for the start angle (in degrees)
Opacity
Type: Single
Transparency of the pie slice (FMX only)
Reference•DrawArrow(TCanvas,TCanvasPixel,TCanvasPixel,TCanvasPixel,TCanvasPixel,TCanvasPixel,string,TArrowOptions,TCanvasPixel,Single) •DrawArrow(TCanvas,TPoints,TCanvasPixel,string,TArrowOptions,TCanvasPixel,TCanvasPixel,Single) •DrawArrow(TCanvas,TRSPoints,TCanvasPixel,string,TArrowOptions,TCanvasPixel,TCanvasPixel,Single) •RSGraphics.DrawShape(TCanvas,TCanvasRect,TRSShapeType,TRSShapeOrientation,Boolean,TCanvasPixel) •RSGraphics.DrawDonutSlice(TCanvas,TCanvasRect,Double,Double,Integer,Double,Double,Single) •RSGraphics.DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Double,Integer,Single) |