display

Summary
display
Functions
display.newRectCreates a rectangle.
display.newCircleCreate a circle.
display.newLineCreate a polyline.

Functions

display.newRect

function display.newRect(x,
y,
width,
height)

Creates a rectangle.

Parameters

xThe x coordinate of the center of the rectangle
yThe y coordinate of the center of the rectangle
widthThe width of the rectangle
heightThe height of the rectangle

Returns

The created rectangle.

See Also

rectangle

display.newCircle

function display.newCircle(x1,
y1,
x2,
y2)

Create a circle.

Parameters

xThe x coordinate of the center of the circle
yThe y coordinate of the center of the circle
radiusThe radius of the circle

See Also

circle

display.newLine

function display.newLine(x1,
y1,
x2,
y2)

Create a polyline.

Parameters

x1The x coordinate of the start of the line
y1The y coordinate of the start of the line
x2The x coordinage of the end of the line
y2The y coordinate of the end of the line

See Also

line

function display.newRect(x,
y,
width,
height)
Creates a rectangle.
function display.newCircle(x1,
y1,
x2,
y2)
Create a circle.
function display.newLine(x1,
y1,
x2,
y2)
Create a polyline.
A rectangle object.
A circle object.
A polyline object
Close