Table of Contents

Class PatternColor

Namespace
iText.Kernel.Colors
Assembly
itext.kernel.dll

Representation of a Pattern Color.

public class PatternColor : Color
Inheritance
PatternColor
Inherited Members

Constructors

PatternColor(PdfPattern)

Creates a pattern color using the given color pattern object.

public PatternColor(PdfPattern coloredPattern)

Parameters

coloredPattern PdfPattern

Color space that uses pattern objects

PatternColor(Tiling, Color)

Creates a pattern color using the given uncolored pattern object and color.

public PatternColor(PdfPattern.Tiling uncoloredPattern, Color color)

Parameters

uncoloredPattern PdfPattern.Tiling

Tiling pattern object of the color space

color Color

Color object

PatternColor(Tiling, PdfColorSpace, float[])

Creates a pattern color using the given uncolored pattern object, an underlying color space and color values.

public PatternColor(PdfPattern.Tiling uncoloredPattern, PdfColorSpace underlyingCS, float[] colorValue)

Parameters

uncoloredPattern PdfPattern.Tiling

Tiling pattern object of the color space

underlyingCS PdfColorSpace

Underlying color space object

colorValue float[]

Color values

PatternColor(Tiling, UncoloredTilingPattern, float[])

Creates a pattern color using the given uncolored pattern object, uncolored tiling pattern and color values.

public PatternColor(PdfPattern.Tiling uncoloredPattern, PdfSpecialCs.UncoloredTilingPattern uncoloredTilingCS, float[] colorValue)

Parameters

uncoloredPattern PdfPattern.Tiling

Tiling pattern object of the color space

uncoloredTilingCS PdfSpecialCs.UncoloredTilingPattern

Tiling pattern color space

colorValue float[]

Color values

Methods

Equals(object)

public override bool Equals(object o)

Parameters

o object

Returns

bool

GetPattern()

Returns the pattern of the color space.

public virtual PdfPattern GetPattern()

Returns

PdfPattern

PdfPattern object

SetColorValue(float[])

public override void SetColorValue(float[] value)

Parameters

value float[]