Skip to main content

Pattern

Version: 12.0

cete.dynamicpdf.pattern

Pattern​

Represents the base class for all pattern colors are derived.

public abstract class Pattern : Color
Public MustInherit Class Pattern
Inherits Color

Inheritance: Object → Color → Pattern

Derived: AutoGradient, Gradient

Licensing Info​

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

Properties​

ColorSpace​

Gets the color space for the color.

public ColorSpace ColorSpace { get; }
Public Property ColorSpace As ColorSpace

Property Value​

ColorSpace

Licensing Info​

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

Methods​

DrawFill(OperatorWriter)​

Draws the color data to the given OperatorWriter object. (Inherited from Color)

public void DrawFill(OperatorWriter writer)
Sub DrawFill(writer As OperatorWriter)

Parameters​

OperatorWriter object to receive the color data.

Licensing Info​

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

DrawFill(PageWriter)​

Draws the color data to the given PageWriter object. (Inherited from Color)

public abstract void DrawFill(PageWriter writer)
MustOverride Sub DrawFill(writer As PageWriter)

Parameters​

PageWriter object to receive the color data.

Licensing Info​

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

DrawStroke(OperatorWriter)​

Draws the color data to the given OperatorWriter object. (Inherited from Color)

public void DrawStroke(OperatorWriter writer)
Sub DrawStroke(writer As OperatorWriter)

Parameters​

OperatorWriter object to receive the color data.

Licensing Info​

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

DrawStroke(PageWriter)​

Draws the color data to the given PageWriter object. (Inherited from Color)

public abstract void DrawStroke(PageWriter writer)
MustOverride Sub DrawStroke(writer As PageWriter)

Parameters​

PageWriter object to receive the color data.

Licensing Info​

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

Equals(Object)​

Tests equality of colors. (Inherited from Color)

public abstract bool Equals(Object obj)
MustOverride Function Equals(obj As Object) As Boolean

Parameters​

Object to compare to the current Color .

Returns​

true if the two colors are equal

Licensing Info​

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

GetHashCode()​

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Color)

public abstract int GetHashCode()
MustOverride Function GetHashCode() As Integer

Returns​

A hash code for the current Color .

Licensing Info​

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

GetResource(PageWriter)​

public abstract Resource GetResource(PageWriter writer)
MustOverride Function GetResource(writer As PageWriter) As Resource

Parameters​

Returns​

Licensing Info​

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

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

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

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

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

See Also​

ceTe.DynamicPDF