All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jrimum.utilix.RectanglePDF Maven / Gradle / Ivy

Go to download

This is a fork and merge from JRimum ( http://www.jrimum.org ), - Bopepo: https://github.com/jrimum/bopepo - Texgit: https://github.com/jrimum/texgit - Valia: https://github.com/jrimum/vallia - Utilix: https://github.com/jrimum/utilix - Domkee: https://github.com/jrimum/domkee For Brazillian Boleto Payment Method. So much thanks for original authors: Gilmar P. S. L, Misael Barreto and Rômulo Augusto.

The newest version!
package org.jrimum.utilix;

import com.itextpdf.text.Rectangle;

public class RectanglePDF extends Rectangle {

    //Padrão de pagina inicial no novo itext
    private int page = 1;

    /**
     * For each of this groups the values are: [page, llx, lly, urx, ury].
     */
    public RectanglePDF(float[] positions) {
        super(positions[1], positions[2], positions[3], positions[4]);
        page = (int) positions[0];
    }

    /**
     * @param arg0
     * @param arg1
     * @param arg2
     * @param arg3
     */
    public RectanglePDF(float arg0, float arg1, float arg2, float arg3) {
        super(arg0, arg1, arg2, arg3);
    }

    /**
     * @param arg0
     * @param arg1
     */
    public RectanglePDF(float arg0, float arg1) {
        super(arg0, arg1);
    }

    /**
     * @param arg0
     */
    public RectanglePDF(Rectangle arg0) {
        super(arg0);
    }

    public int getPage() {
        return page;
    }

    /**
     * 

* SOBRE O MÉTODO *

* * @return llx - lower left x */ public float getLowerLeftX() { return this.llx; } /** *

* SOBRE O MÉTODO *

* * @return lly - lower left y */ public float getLowerLeftY() { return lly; } /** *

* SOBRE O MÉTODO *

* * @return urx - upper right x * */ public float getUpperRightX() { return urx; } /** *

* SOBRE O MÉTODO *

* * @return ury - upper right y * * @since 1.0 */ public float getUpperRightY() { return ury; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy