DrawShape(TCanvas,TCanvasRect,TBitmap,TRSShapeStyle,Boolean,TCanvasColor,TCanvasColor,TCanvasPixel,Single) Method |
Scroll Prev Top Next More |
Draws the specified Shape to the canvas.
Namespace: FMX.RS.Graphics
Delphi |
function DrawShape( const Canvas: TCanvas; ARect: TCanvasRect; |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
ARect
Type: System.Void
Rectangular area to draw the shape
Image
Type: TBitmap
Bitmap to use if Style is ssImage
Style
Type: TRSShapeStyle
Style of shape
StretchImage
Type: Boolean
Stretch drawing the image if Style is ssImage
BevelHighlight
Type: System.Void
Highlight color for the bevel
BevelShadow
Type: System.Void
Shadow color for the bevel
BevelSize
Type: System.Void
Size of bevel in pixels
Opacity
Type: Single
Transparency of the shape (FMX only)
Type: TCanvasRect
Reference•FMX.RS.Graphics.TRSShapeOrientation •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) •FMX.RS.Graphics.DrawShape(TCanvas,TCanvasRect,TRSShapeType,TRSShapeOrientation,Boolean,TCanvasPixel) •FMX.RS.Graphics.DrawDonutSlice(TCanvas,TCanvasRect,Double,Double,Integer,Double,Double,Single) •FMX.RS.Graphics.DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Double,Integer,Single) •FMX.RS.Graphics.DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Integer,Single) |