DrawShape method (Main Control)
Builder Syntax |
int DrawShape (Cardinal uShape, LEADTyp::TBitmapHandle BackGroundImage); |
Delphi Syntax |
DrawShape (uShape: Cardinal; BackGroundImage: TBitmapHandle): Integer; |
Overview |
Remarks
Draws the specified three-dimensional shape in the control's client area or on the current bitmap. The size, position, and other aspects of the shape are determined by related properties, as explained in Drawing Three-Dimensional Shapes and Text.
If the DrawPersistence property is TRUE, all drawing is done on the bitmap, not the screen. In this case this method supports 1, 4, 8 palettized, 16 and 24-bit color images. Therefore, to call this method for an image of some other bits per pixel, or a 12 or 16-bit grayscale image, the ColorRes method must be called first to convert that image to a 1, 4, 8 palettized, 16 or 24-bit color image.
If the DrawPersistence property is FALSE, then all drawing is done to the screen. In this case images of all bits per pixel values can be used by this method.
See Also
Topics: |
|
|