Skip to main content
Version: Streamsheets 2.5

DRAW.RECTANGLE

Define a rectangle on a given drawing.

Syntax

=DRAW.RECTANGLE(X, Y, Width, Height, [LineColor], [FillColor], [Angle])

Arguments

NameDescription
XX Coordinate in 1/100th mm
YY Coordinate in 1/100th mm
WidthWidth in 1/100th mm
HeightHeight in 1/100th mm
LineColor (optional)Options:
- None for no line
- Hexadecimal color value (#FF0000 for Red)
FillColor (optional)Hexadecimal color value (#FF0000 for Red)
Angle (optional)Angle in radians.

Return

TRUE, if rectangle could be created.

Hint

This function should not be used in a cell

Examples

FormulaResultComment
=DRAW.RECTANGLE(43980,13587,19368,10636)
TRUEA rectangle.