ShadowXDepth property (ILEADRasterFXD)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

float ShadowXDepth

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

Specifies the X offset of a drop shadow that is applied to a three-dimensional shape or text object.

To have no drop shadow, set the ShadowXDepth and ShadowYDepth properties to 0.

Whether you draw to the screen or to the bitmap, drawing objects are always positioned in the LEAD Raster View Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates.

For text objects, drop shadows are available only for the following TextStyle values:

FXD_TEXTSTYLE_DROPSHADOW
FXD_TEXTSTYLE_BLOCKSHADOW
FXD_TEXTSTYLE_OUTLINEBLOCK

See Also

Elements:

DrawShape method, DrawText method

Topics:

Drawing Effects:3D Drawing Special Effects