draw Rect
Draws a rectangle with the given offset and size. If no offset from the top left is provided, it is drawn starting from the origin of the current translation. If no size is provided, the size of the current environment is used.
Parameters
Char to be applied to the rectangle
Foreground color to be applied to the rectangle
Background color to be applied to the rectangle
Text style color to be applied to the rectangle
Offset from the local origin of 0, 0 relative to the current translation
Dimensions of the rectangle to draw
Whether or not the rectangle is stroked or filled in
Draws a rectangle with the given offset and size. If no offset from the top left is provided, it is drawn starting from the origin of the current translation. If no size is provided, the size of the current environment is used.
Parameters
Code point to be applied to the rectangle
Foreground color to be applied to the rectangle
Background color to be applied to the rectangle
Text style color to be applied to the rectangle
Offset from the local origin of 0, 0 relative to the current translation
Dimensions of the rectangle to draw
Whether or not the rectangle is stroked or filled in