THotPDF.RegisterRadialGradient Method

Registers a reusable radial gradient resource for the graphics and color management workflow. Call it before page commands reference the resource name so color, pattern, font, image, or profile data is available in the PDF resource tree

Declaration

function RegisterRadialGradient(X0, Y0, R0, X1, Y1, R1: Single; const ColorStart: array of Extended; const ColorEnd: array of Extended): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
X0Input used by RegisterRadialGradient
Y0Input used by RegisterRadialGradient
R0Input used by RegisterRadialGradient
X1Input used by RegisterRadialGradient
Y1Input used by RegisterRadialGradient
R1Input used by RegisterRadialGradient
ColorStartColor component or color value used by the painting or resource operation
ColorEndColor component or color value used by the painting or resource operation

Return value

Returns an AnsiString value

Usage notes

Related APIs