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 declares 3 methods for GradientAxialShading objects in .NET programs. Available methods include: GradientAxialShading, PatternColorSpace. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: End, EndColor, Start, StartColor, Stops.

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.
StopsSystem.Collections.Generic.IList<Aspose.Pdf.Color>ReadColours the ramp passes through, evenly spaced along the 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).
PatternColorSpace()Creates a pattern colour-space marker.

See Also

 English