DrawShape(TCanvas,TCanvasRect,TBitmap,TRSShapeStyle,Boolean,TCanvasColor,TCanvasColor,TCanvasPixel,Single) Method |
Scroll Prev Top Next More |
Draws the specified Shape to the canvas.
Namespace: RSGraphics
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•RSGraphics.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) •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) •RSGraphics.DrawPieSlice(TCanvas,TCanvasRect,Double,Double,Integer,Single) |