Skip to main content
Table of Contents

ITMSFNCCustomPDFGraphicsExLib.DrawAddShadow Method

Adds a drop shadow to subsequent drawing operations using the current fill color as the shadow color.

API unit family: TMSFNCPDFGraphicsLib Declaring type: ITMSFNCCustomPDFGraphicsExLib

Overloads

Overload 1

Adds a drop shadow to subsequent drawing operations using the current fill color as the shadow color.

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure DrawAddShadow(Offset: TPointF; Blur: Single); overload;
virtual void __fastcall DrawAddShadow(const System::Types::TPointF &Offset, float Blur) = 0 /* overload */;

Parameters

Name Description
Offset Shadow offset from the drawn shape in PDF coordinate units.
Blur Blur radius of the shadow in PDF coordinate units.

Overload 2

Adds a drop shadow with an explicit color to subsequent drawing operations.

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure DrawAddShadow(Offset: TPointF; Blur: Single; Color: TTMSFNCGraphicsColor); overload;
virtual void __fastcall DrawAddShadow(const System::Types::TPointF &Offset, float Blur, TTMSFNCGraphicsColor Color) = 0 /* overload */;

Parameters

Name Description
Offset Shadow offset from the drawn shape in PDF coordinate units.
Blur Blur radius of the shadow in PDF coordinate units.
Color Shadow color.