lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern [, flags])
Draw a line only inside a rectangle
@status current Introduced in 2.4.0
Parameters
x1,y1,x2,y1
(positive numbers) coordinates of the start and end of the unclipped linexmin,xmax,ymin,ymax
(positive numbers) the limits of the rectangle inside which the line is drawnpattern
(FORCE, ERASE, DOTTED) please see Lcd functions overview
Return value
none
Previouslcd.drawLine(x1, y1, x2, y2, pattern, flags)Nextlcd.drawNumber(x, y, value [, flags [, inversColor]])
Last updated