Class PatternColor
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
PdfPatternColor 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.TilingTiling pattern object of the color space
color
ColorColor 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.TilingTiling pattern object of the color space
underlyingCS
PdfColorSpaceUnderlying 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.TilingTiling pattern object of the color space
uncoloredTilingCS
PdfSpecialCs.UncoloredTilingPatternTiling pattern color space
colorValue
float[]Color values
Methods
Equals(object)
public override bool Equals(object o)
Parameters
o
object
Returns
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[]