Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.Graphics > Routines

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

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)

Return Value

Type: TCanvasRect

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb