Module org.sejda.sambox
Class PDFourColours
java.lang.Object
org.sejda.sambox.pdmodel.documentinterchange.taggedpdf.PDFourColours
- All Implemented Interfaces:
COSObjectable
An object for four colours.
- Author:
- Johannes Koch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the colour for the after edge.Gets the colour for the before edge.Gets the colour for the end edge.Gets the colour for the start edge.voidsetAfterColour(PDGamma colour) Sets the colour for the after edge.voidsetBeforeColour(PDGamma colour) Sets the colour for the before edge.voidsetEndColour(PDGamma colour) Sets the colour for the end edge.voidsetStartColour(PDGamma colour) Sets the colour for the start edge.
-
Constructor Details
-
PDFourColours
public PDFourColours() -
PDFourColours
-
-
Method Details
-
getBeforeColour
Gets the colour for the before edge.- Returns:
- the colour for the before edge
-
setBeforeColour
Sets the colour for the before edge.- Parameters:
colour- the colour for the before edge
-
getAfterColour
Gets the colour for the after edge.- Returns:
- the colour for the after edge
-
setAfterColour
Sets the colour for the after edge.- Parameters:
colour- the colour for the after edge
-
getStartColour
Gets the colour for the start edge.- Returns:
- the colour for the start edge
-
setStartColour
Sets the colour for the start edge.- Parameters:
colour- the colour for the start edge
-
getEndColour
Gets the colour for the end edge.- Returns:
- the colour for the end edge
-
setEndColour
Sets the colour for the end edge.- Parameters:
colour- the colour for the end edge
-
getCOSObject
- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The
COSBasethat matches this Java object.
-