updated docs to add new triangle methods
@@ -92,6 +92,12 @@ Resize the canvas to the given `width` and `height`, and reset the color of the
If `c` isn't provided, we default to black.
Resizing the canvas resets the "clipping region" to encompass the whole canvas, as if `Canvas.clip()` was called.
+#### `static triangle(x0: Number, y0: Number, x1: Number, y1: Number, x2: Number, y3: Number, c: Color) `
+Draw a triangle with vertices at (_x0, y0_), (_x1, y1_), (_x2, y2_) in the color _c_.
+
+#### `static trianglefill(x0: Number, y0: Number, x1: Number, y1: Number, x2: Number, y3: Number, c: Color) `
+Draw a filled triangle with vertices at (_x0, y0_), (_x1, y1_), (_x2, y2_) in the color _c_.
+
## Color
An instance of the `Color` class represents a single color which can be used for drawing to the `Canvas`.
