Pages canvas Search Basic information README Source on GitHub Entities CanvasDirection CanvasFillRule CanvasFillStyle CanvasFontKerning CanvasGlobalCompositeOperation CanvasImageSmoothingQuality CanvasLineCap CanvasLineJoin CanvasPatternRepeat CanvasTextAlign CanvasTextBaseline Canvas CanvasGradient CanvasImageSource CanvasPattern DOMMatrix Dom.Canvas ImageData Path2D TextMetrics Uint8ClampedArray Versions 0.1.0 CanvasLineCap Options Butt The ends of lines are squared off at the endpoints. Default value. Round The ends of lines are rounded. Square The ends of lines are squared off by adding a box with an equal width and half the height of the line's thickness.