createTopLeftRect

Creates a rectangle starting from the top left corner.

createTopLeftRect
(
float xLeft
,
float yTop
,
float width
,
float height
)

Parameters

xLeft float

X coordinates of left up corner

yTop float

Y coordinates of left up corner

width float

Width of rectangle

height float

Height of rectangle

Examples

(x, y)
   *----------+
   |          | height
   +----------+
      width

Meta