public class PatternColor extends Color
colorSpace, colorValue| Constructor and Description |
|---|
PatternColor(PdfPattern.Tiling uncoloredPattern,
Color color)
Creates a pattern color using the given uncolored pattern object and color.
|
PatternColor(PdfPattern.Tiling uncoloredPattern,
PdfColorSpace underlyingCS,
float[] colorValue)
Creates a pattern color using the given uncolored pattern object, an underlying color space and color values.
|
PatternColor(PdfPattern.Tiling uncoloredPattern,
PdfSpecialCs.UncoloredTilingPattern uncoloredTilingCS,
float[] colorValue)
Creates a pattern color using the given uncolored pattern object, uncolored tiling pattern and color values.
|
PatternColor(PdfPattern coloredPattern)
Creates a pattern color using the given color pattern object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Indicates whether the color is equal to the given color.
|
PdfPattern |
getPattern()
Returns the pattern of the color space.
|
void |
setColorValue(float[] value)
Sets the color value of the color
|
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColorpublic PatternColor(PdfPattern coloredPattern)
coloredPattern - Color space that uses pattern objectspublic PatternColor(PdfPattern.Tiling uncoloredPattern, Color color)
uncoloredPattern - Tiling pattern object of the color spacecolor - Color objectpublic PatternColor(PdfPattern.Tiling uncoloredPattern, PdfColorSpace underlyingCS, float[] colorValue)
uncoloredPattern - Tiling pattern object of the color spaceunderlyingCS - Underlying color space objectcolorValue - Color valuespublic PatternColor(PdfPattern.Tiling uncoloredPattern, PdfSpecialCs.UncoloredTilingPattern uncoloredTilingCS, float[] colorValue)
uncoloredPattern - Tiling pattern object of the color spaceuncoloredTilingCS - Tiling pattern color spacecolorValue - Color valuespublic PdfPattern getPattern()
public void setColorValue(float[] value)
ColorsetColorValue in class Colorvalue - new color valuepublic boolean equals(Object o)
Colorcolor space and color value are considered during the
comparison.Copyright © 1998–2024 Apryse Group NV. All rights reserved.