DrawShape(TCanvas,TRect,TImageList,Integer,TRSShapeStyle,TRSShapeStyle,Boolean,TCanvasColor,TCanvasColor,Integer) Method |
Scroll Prev Top Next More |
Draws the specified Shape to the canvas.
Namespace: RSVclGraphics
Delphi |
function DrawShape( const Canvas: TCanvas; ARect: TRect; |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
ARect
Type: TRect
Rectangular area to draw the shape
ImageList
Type: TImageList
For style is ssImage, use this ImageList
ImageIndex
Type: Integer
For style is ssImage, use this image from the ImageList
Style
Type: TRSShapeStyle
Style of shape
DefaultImageStyle
Type: TRSShapeStyle
For style is ssImage and ImageList is nil, use this style instead
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: Integer
Size of bevel in pixels
Image
Bitmap to use if Style is ssImage
Opacity
Transparency of the shape (FMX only)
Type: TRect
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) |