Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSVclGraphics > Routines

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

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)

Return Value

Type: TRect

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb