Package com.itextpdf.kernel.pdf.annot
Class InteriorColorUtil
java.lang.Object
com.itextpdf.kernel.pdf.annot.InteriorColorUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Color
parseInteriorColor
(PdfArray color) The interior color which is used to fill areas specific for different types of annotation.
-
Constructor Details
-
InteriorColorUtil
private InteriorColorUtil()
-
-
Method Details
-
parseInteriorColor
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.
-