CreateRadialShading(PdfColorSpace, PathPoint, Double, PathPoint, Double, PdfFunction) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Creates a radial shading (Type 3) coloured by a function of the caller's from one circle to another.

public PdfRadialShading CreateRadialShading(PdfColorSpace colorSpace, PathPoint startCenter, double startRadius, PathPoint endCenter, double endRadius, PdfFunction function)

Parameters

colorSpace
PdfColorSpace

The shading's colour space: a space of this document, not Pattern or Indexed.

startCenter
PathPoint

The centre of the circle where the function's domain starts.

startRadius
Double

Its radius: 0 or more.

endCenter
PathPoint

The centre of the circle where it ends.

endRadius
Double

Its radius: 0 or more.

function
PdfFunction

A function of this document from one input to the colour space's components; its domain is the shading's Domain.

Returns

PdfRadialShading
The shading, a new indirect dictionary, as read back.

Remarks

ISO 32000-2 §8.7.4.5.4, Table 80 (PDF 1.3). Records PDF 1.3 and the function's version. A mutation.