paintutils.drawBox
From ComputerCraft Wiki
Function paintutils.drawBox | |
Draws a box from (startX, startY) to (endX, endY) in the specified color. Requires version 1.64 or newer. | |
Syntax | paintutils.drawBox(number startX, number startY, number endX, number endY [, number color]) |
Returns | None |
Part of | ComputerCraft |
API | paintutils |
Examples
Example | |
Draws a lime box which's top-left corner is at (2, 3) and bottom-right corner is at (10, 7). | |
Code |
paintutils.drawBox(2, 3, 10, 7, colors.lime) |