GradientAxialShading

GradientAxialShading

Overview

GradientAxialShading is a class in Aspose.PDF FOSS for .NET. Inherits from: PatternColorSpace.

Defines a linear (axial) gradient between two colors for use as a fill pattern.

This class provides 2 methods for working with GradientAxialShading objects in .NET programs. Available methods include: GradientAxialShading. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: End, EndColor, Start, StartColor.

Properties

NameTypeAccessDescription
StartColorAspose.Pdf.Color?Read/WriteStart color of the gradient.
EndColorAspose.Pdf.Color?Read/WriteEnd color of the gradient.
StartAspose.Pdf.PointRead/WriteStart point of the gradient axis.
EndAspose.Pdf.PointRead/WriteEnd point of the gradient axis.

Methods

SignatureDescription
GradientAxialShading()Construct an empty gradient.
GradientAxialShading(startColor: Aspose.Pdf.Color, endColor: Aspose.Pdf.Color)Construct with start/end colours; endpoints default to (0,0)→(1,0).

See Also