Draws an equilateral, isosceles or right triangle anchored at [x,y].

Properties

Property

Default

Notes

x

0

 

y

0

 

width

10

 

height

 

will draw an isosceles or a right triangle if set

ritghAngleAt

 

will draw a right triangle if set, value must be any of [start,end]

rotateAtCenter

 

will rotate the triangle at is center instead of using (x,y) as anchor

angle

0