IsoscelesTriangle Primitive

Here’s a Flex 4+ IsoscelesTriangle primitive. If you require an equilateral triangle you can just set width or height (not both) and the primitive will calculate the other size.

(right click for source).

The source can be downloaded only from our GitHub repository (only added to the Flex 4.5 lib at the moment). I’ll get it into the 4 lib and up on our Google Code repository soon.

  • ws.tink.spark.primitives.IsoscelesTriangle (4.5)
  • Leave a Reply