Draw a triangle from angles and lengths

Id like to draw a simple triangle.
I have the angles and the lengths.
is their an existing function/procedure that i can pass these values to and it will draw it?
Thanks in advance
Hopefully

You can use the canvas drawshape ( passing a list of points to be joined )

P.S.

You need a little bit of trigonometry to calculate the coordinates from lengths and angles

drawshape01.aia (1.8 KB)