Line
Inherits: Shape
Draws a line between the given points using the given paint.
Properties
-
paint
(Paint
) –A style to draw a line with.
-
x1
(Number
) –The x-axis coordinate of the line's starting point.
-
x2
(Number
) –The x-axis coordinate of the line's end point.
-
y1
(Number
) –The y-axis coordinate of the line's starting point.
-
y2
(Number
) –The y-axis coordinate of the line's end point.