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 overviewflags(optional) please see flags and color constants
Return value¶
none