Skip to content

Line

Draw a line from startx,startY to endX, endY.

Name Description
component line
width required, in pixels
height required, in pixels
startX required, in pixels
startY required, in pixels
endX required, in pixels
endY required, in pixels
strokeWidth optional, default to 1px
strokeColor optional, stroke color