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
ConstructorsConstructorDescriptionPatternColor(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 TypeMethodDescriptionbooleanIndicates whether the color is equal to the given color.voidsetColorValue(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:ColorSets the color value of the color- Overrides:
-
setColorValuein classColor - Parameters:
-
value- new color value
-
equals
Description copied from class:ColorIndicates whether the color is equal to the given color. Thecolor spaceandcolor valueare considered during the comparison.
-