Package com.itextpdf.kernel.pdf.annot
Class InteriorColorUtil
- java.lang.Object
-
- com.itextpdf.kernel.pdf.annot.InteriorColorUtil
-
class InteriorColorUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateInteriorColorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorparseInteriorColor(PdfArray color)The interior color which is used to fill areas specific for different types of annotation.
-
-
-
Method Detail
-
parseInteriorColor
public static Color parseInteriorColor(PdfArray color)
The interior color which is used to fill areas specific for different types of annotation. ForPdfLineAnnotationand polyline annotation (PdfPolyGeomAnnotation- the annotation's line endings, forPdfSquareAnnotationandPdfCircleAnnotation- the annotation's rectangle or ellipse, forPdfRedactAnnotation- the redacted region after the affected content has been removed.- Returns:
Colorof eitherDeviceGray,DeviceRgborDeviceCmyktype which defines interior color of the annotation, or null if interior color is not specified.
-
-