Click or drag to resize

AxialPattern Class

Represents the type 2 (axial) Shadings
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.PatternsPdfPattern
    Patagames.Pdf.Net.PatternsPdfShadingPattern
      Patagames.Pdf.Net.PatternsAxialPattern

Namespace: Patagames.Pdf.Net.Patterns
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public class AxialPattern : PdfShadingPattern

The AxialPattern type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyDictionary Gets the shading object.
(Overrides PdfShadingPatternDictionary)
Public propertyExtendEnd Gets or sets a flag specifying whether to extend the shading beyond the ending (To) point of the axis.
Public propertyExtendStart Gets or sets a flag specifying whether to extend the shading beyond the starting (From) point of the axis.
Public propertyFrom Gets or sets the starting coordinate of the axis, expressed in the shading’s target coordinate space.
Public propertyFunctions 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)
Public propertyHighest 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.
Public propertyLowest 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.
Public propertyTo Gets or sets the ending coordinate of the axis, expressed in the shading’s target coordinate space.
Top
Remarks

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.

See Also