Skip to main content
Version: Streamsheets 2.4

DRAW.RECTANGLE

Define a rectangle on a given drawing.

Syntax

=DRAW.RECTANGLE(X, Y, Width, Height, LineColor, 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
LineColorOptional. Options:
- None for no line
- Hexadecimal color value (#FF0000 for Red)
FillColorOptional. Hexadecimal color value (#FF0000 for Red)
AngleOptional. Angle in radians.

Return Value

TRUE, if rectangle could be created.

Example

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