Module: shape-points/line

calculate points for a line with a certain thickness (either one thickness or a starting and ending thickness)

Parameters:
Name Type Attributes Description
x1 number
y1 number
x2 number
y2 number
thickness number | object <optional>
Properties
Name Type Description
start number
end number
Source:
Returns:

[x1, y1, x2, y2, ... xn, yn]

Type
array