Package org.pdfbox.pdmodel.graphics.color

Examples of org.pdfbox.pdmodel.graphics.color.PDGamma


    public PDGamma getColour()
    {
        COSArray c = (COSArray) getDictionary().getItem(COSName.getPDFName( "C" ) );
        if (c != null)
        {
            return new PDGamma( c );
        }
        else
        {
            return null;
        }
View Full Code Here


                // Setup some basic reusable objects/constants
                // Annotations themselves can only be used once!
               
                float inch = 72;
                PDGamma colourRed = new PDGamma();
                colourRed.setR(1);
                PDGamma colourBlue = new PDGamma();
                colourBlue.setB(1);
                PDGamma colourBlack = new PDGamma();

                PDBorderStyleDictionary borderThick = new PDBorderStyleDictionary();
                borderThick.setWidth(inch/12)// 12th inch
                PDBorderStyleDictionary borderThin = new PDBorderStyleDictionary();
                borderThin.setWidth(inch/72); // 1 point
View Full Code Here

    {

        COSArray ic = (COSArray) getDictionary().getDictionaryObject( "IC" );
        if (ic != null)
        {
            return new PDGamma( ic );
        }
        else
        {
            return null;
        }
View Full Code Here

        COSArray ic = (COSArray) getDictionary().getItem(
                COSName.getPDFName( "IC" ) );
        if (ic != null)
        {
            return new PDGamma( ic );
        }
        else
        {
            return null;
        }
View Full Code Here

TOP

Related Classes of org.pdfbox.pdmodel.graphics.color.PDGamma

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.