Annulus Primitive

Here’s a Flex 4+ Annulus primitive. You can specify the width and height (width, height), the hole width and hole height (holeWidth, holeHeight) and the amount the position of the hole should be offset from the center (holeOffsetX, holeOffsetY).


(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.Annulus (4.5)
  • Leave a Reply