Axial |
The AxialPattern type exposes the following members.
| Name | Description | |
|---|---|---|
| AxialPattern(PdfDocument, FS_POINTF, FS_POINTF, PdfFunction, PdfColorSpace, FS_MATRIX, FS_MATRIX) | Create new axial shading pattern | |
| AxialPattern(PdfDocument, FS_POINTF, FS_POINTF, PdfFunction, PdfColorSpace, FS_MATRIX, FS_MATRIX) | Create new axial shading pattern |
| Name | Description | |
|---|---|---|
| Dictionary |
Gets the shading object.
(Overrides PdfShadingPatternDictionary) | |
| ExtendEnd | Gets or sets a flag specifying whether to extend the shading beyond the ending (To) point of the axis. | |
| ExtendStart | Gets or sets a flag specifying whether to extend the shading beyond the starting (From) point of the axis. | |
| From | Gets or sets the starting coordinate of the axis, expressed in the shading’s target coordinate space. | |
| Functions |
Gets or sets a 1-in, n-out function or an array of n 1-in, 1-out functions where n is the number of color components in the shading color space.
The function(s) are called with values of the parametric variable t in the domain defined by the Lowest and Highest.
(Overrides PdfShadingPatternFunctions) | |
| Highest | Gets or sets the highest limiting value of a parametric variable t passed to the Functions. The variable is considered to vary linearly between Lowest and Highest values as the color gradient varies between the starting (From) and ending (To) points of the axis. The variable t becomes the input argument to the color Functions. | |
| Lowest | Gets or sets the lowest limiting value of a parametric variable t passed to the Functions. The variable is considered to vary linearly between Lowest and Highest values as the color gradient varies between the starting (From) and ending (To) points of the axis. The variable t becomes the input argument to the color Functions. | |
| To | Gets or sets the ending coordinate of the axis, expressed in the shading’s target coordinate space. |
Axial shadings define a color blend that varies along a linear axis between two endpoints and extends indefinitely perpendicular to that axis. The shading may optionally be extended beyond either or both endpoints by continuing the boundary colors indefinitely.
The color blend is accomplished by linearly mapping each point (x, y) along the axis between the From and To endpoints.