/*
 * SDK Pullenti Unitext, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software. 
 * This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */

package com.pullenti.unitext.internal.pdf;

public class PdfRect {

    public double x1;

    public double x2;

    public double y1;

    public double y2;

    public double getLeft() {
        return x1;
    }


    public double getRight() {
        return x2;
    }


    public double getWidth() {
        return x2 - x1;
    }


    public double getTop() {
        return y1;
    }


    public double getBottom() {
        return y2;
    }


    public double getHeight() {
        return y2 - y1;
    }


    public Object tag;

    @Override
    public String toString() {
        return ("[x1=" + x1 + ", x2=" + x2 + ", y1=" + y1 + ", y2=" + y2);
    }
    public PdfRect() {
    }
}
