iTextSharp.text.pdf.PdfRectangle.PdfRectangle C# (CSharp) Method

PdfRectangle() public method

public PdfRectangle ( float llx, float lly, float urx, float ury, int rotation ) : System
llx float
lly float
urx float
ury float
rotation int
return System
        public PdfRectangle(float llx, float lly, float urx, float ury, int rotation)
            : base()
        {
            if (rotation == 90 || rotation == 270) {
                this.llx = lly;
                this.lly = llx;
                this.urx = ury;
                this.ury = urx;
            }
            else {
                this.llx = llx;
                this.lly = lly;
                this.urx = urx;
                this.ury = ury;
            }
            base.Add(new PdfNumber(this.llx));
            base.Add(new PdfNumber(this.lly));
            base.Add(new PdfNumber(this.urx));
            base.Add(new PdfNumber(this.ury));
        }

Same methods

PdfRectangle::PdfRectangle ( Rectangle rectangle ) : System
PdfRectangle::PdfRectangle ( Rectangle rectangle, int rotation ) : System
PdfRectangle::PdfRectangle ( float urx, float ury ) : System
PdfRectangle::PdfRectangle ( float llx, float lly, float urx, float ury ) : System
PdfRectangle::PdfRectangle ( float urx, float ury, int rotation ) : System