Package com.itextpdf.kernel.colors
Class PatternColor
java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.PatternColor
-
Field Summary
Fields inherited from class com.itextpdf.kernel.colors.Color
colorSpace, colorValue
-
Constructor Summary
ConstructorDescriptionPatternColor
(PdfPattern coloredPattern) PatternColor
(PdfPattern.Tiling uncoloredPattern, Color color) PatternColor
(PdfPattern.Tiling uncoloredPattern, PdfColorSpace underlyingCS, float[] colorValue) PatternColor
(PdfPattern.Tiling uncoloredPattern, PdfSpecialCs.UncoloredTilingPattern uncoloredTilingCS, float[] colorValue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether the color is equal to the given color.void
setColorValue
(float[] value) Sets the color value of the colorMethods inherited from class com.itextpdf.kernel.colors.Color
convertCmykToRgb, convertRgbToCmyk, createColorWithColorSpace, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor
-
Constructor Details
-
PatternColor
-
PatternColor
-
PatternColor
public PatternColor(PdfPattern.Tiling uncoloredPattern, PdfColorSpace underlyingCS, float[] colorValue) -
PatternColor
public PatternColor(PdfPattern.Tiling uncoloredPattern, PdfSpecialCs.UncoloredTilingPattern uncoloredTilingCS, float[] colorValue)
-
-
Method Details
-
getPattern
-
setColorValue
public void setColorValue(float[] value) Description copied from class:Color
Sets the color value of the color- Overrides:
-
setColorValue
in classColor
- Parameters:
-
value
- new color value
-
equals
Description copied from class:Color
Indicates whether the color is equal to the given color. Thecolor space
andcolor value
are considered during the comparison.
-