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 private
InteriorColorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Color
parseInteriorColor(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. ForPdfLineAnnotation
and polyline annotation (PdfPolyGeomAnnotation
- the annotation's line endings, forPdfSquareAnnotation
andPdfCircleAnnotation
- the annotation's rectangle or ellipse, forPdfRedactAnnotation
- the redacted region after the affected content has been removed.- Returns:
Color
of eitherDeviceGray
,DeviceRgb
orDeviceCmyk
type which defines interior color of the annotation, or null if interior color is not specified.
-
-