Type
DrawTriangleOpt
: RenderProps & {p1
: Vec2First point of triangle.
p2
: Vec2Second point of triangle.
p3
: Vec2Third point of triangle.
fill
?: booleanIf fill the shape with color (set this to false if you only want an outline).
radius
?: numberThe radius of each corner.
How the triangle should look like.