ImageDrawRect

Draws a rectangle.

Returns: void

Usage

ImageDrawRect( name, x, y, width, height [, filled ] )

Arguments

Argument Description
name
(any, required)

The image on which this operation is performed.

x
(number, required)

The x coordinate of the rectangle.

y
(number, required)

The y coordinate of the rectangle.

width
(number, required)

The width of the rectangle.

height
(number, required)

The height of the rectangle.

filled
(boolean, optional)

Specify whether the rectangle is filled: - true: The rectangle is filled with the specified drawing color. - false (default): Only the outline of the rectangle is drawn.

Examples

There are currently no examples for this function.

See also