Skip to main content
Version: Streamsheets 2.4

DRAW.LINE

Define a graphical line.

Syntax

=DRAW.LINE(X1, Y1, X2, Y2, LineColor)

Arguments

NameDescription
X1X Start Coordinate in 1/100th mm
Y1Y Start Coordinate in 1/100th mm
X2X End Coordinate in 1/100th mm
Y2Y End Coordinate in 1/100th mm
LineColorOptional. - Hexadecimal color value (#FF0000 for Red)

Return Value

TRUE, if line could be created.

Example

FunctionResultComment
=DRAW.LINE(47791,940,55332,5279)TRUEDraw a line.