Gradient

Represents a gradient pattern.

public class Gradient : Pattern
Public Class Gradient
    Inherits Pattern

Inheritance: ObjectColorPatternGradient

Derived: AutoGradient

Licensing Info

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Remarks

See the Colors topic for more on gradient patterns.

Constructors

Gradient(Single, Single, Single, Single, CmykColor, CmykColor)Initializes a new instance of the Gradient class.
Gradient(Single, Single, Single, Single, Grayscale, Grayscale)Initializes a new instance of the Gradient class.
Gradient(Single, Single, Single, Single, RgbColor, RgbColor)Initializes a new instance of the Gradient class.

Properties

Color1Gets the first color.
Color2Gets the second color.
ColorSpaceGets the color space for the color.
X1Gets or sets the X coordinate of the first color.
X2Gets or sets the X coordinate of the second color.
Y1Gets or sets the Y coordinate of the first color.
Y2Gets or sets the Y coordinate of the second color.

Methods

DrawFill(OperatorWriter)Draws the color data to the given OperatorWriter object.
(Inherited from Color)
DrawFill(PageWriter)Draws the color data to the given PageWriter object.
DrawStroke(OperatorWriter)Draws the color data to the given OperatorWriter object.
(Inherited from Color)
DrawStroke(PageWriter)Draws the color data to the given PageWriter object.
Equals(Object)Tests equality of colors.
GetHashCode()Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetResource(PageWriter)Gets the resource for the gradient.
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF

In this topic