Class PDFourColours
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.documentinterchange.taggedpdf.PDFourColours
-
- All Implemented Interfaces:
COSObjectable
public class PDFourColours extends Object implements COSObjectable
An object for four colours.
-
-
Constructor Summary
Constructors Constructor Description PDFourColours()PDFourColours(COSArray array)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDGammagetAfterColour()Gets the colour for the after edge.PDGammagetBeforeColour()Gets the colour for the before edge.COSBasegetCOSObject()Convert this standard java object to a COS object.PDGammagetEndColour()Gets the colour for the end edge.PDGammagetStartColour()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 Detail
-
PDFourColours
public PDFourColours()
-
PDFourColours
public PDFourColours(COSArray array)
-
-
Method Detail
-
getBeforeColour
public PDGamma getBeforeColour()
Gets the colour for the before edge.- Returns:
- the colour for the before edge
-
setBeforeColour
public void setBeforeColour(PDGamma colour)
Sets the colour for the before edge.- Parameters:
colour- the colour for the before edge
-
getAfterColour
public PDGamma getAfterColour()
Gets the colour for the after edge.- Returns:
- the colour for the after edge
-
setAfterColour
public void setAfterColour(PDGamma colour)
Sets the colour for the after edge.- Parameters:
colour- the colour for the after edge
-
getStartColour
public PDGamma getStartColour()
Gets the colour for the start edge.- Returns:
- the colour for the start edge
-
setStartColour
public void setStartColour(PDGamma colour)
Sets the colour for the start edge.- Parameters:
colour- the colour for the start edge
-
getEndColour
public PDGamma getEndColour()
Gets the colour for the end edge.- Returns:
- the colour for the end edge
-
setEndColour
public void setEndColour(PDGamma colour)
Sets the colour for the end edge.- Parameters:
colour- the colour for the end edge
-
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos object that matches this Java object.
-
-