createPdfRect

Creates a rectangle with the pdf convention.

When describing a rectangle in PDF syntax, an array of four numbers is used. The order of the numbers is: left, bottom, width, height.

createPdfRect
(
float xLeft
,
float yBottom
,
float width
,
float height
)

Parameters

xLeft float

X coordinates of left up corner

yBottom float

Y coordinates of left bottom corner

width float

Width of rectangle

height float

Height of rectangle

Examples

            width
        +----------+
        |          | height
        *----------+
(left, bottom)

Meta