PdfRadialShading Class

Definition

A radial shading (Type 3): colour varies between two circles, through the blend circles between them.

public sealed class PdfRadialShading : PdfShading

Remarks

ISO 32000-2 §8.7.4.5.4, Table 80. The blend circle for s in [0, 1] has centre (x₀ + s(x₁ − x₀), y₀ + s(y₁ − y₀)) and radius r₀ + s(r₁ − r₀); an extended end continues it below 0 or above 1 while the radius is not negative. Circles are painted in order of increasing s, so a point on several of them takes the colour of the greatest s (§8.7.4.5.4: "the last of the enclosing circles to be painted"). TryGetParameter(Double, Double, out Double) computes that s and the t it maps to.

Repairs: a negative radius reads as 0, with a diagnostic. Both radii 0 paint nothing.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (7)

Methods (1)