DEMOS
DOCS
FEATURES
DOWNLOAD
PURCHASE
CONTACT
BLOG
Show:

Anchors.Perimeter Class

An Anchor that tracks the perimeter of some shape, approximating it with a given number of dynamically positioned locations.

Constructor

Anchors.Perimeter

(
  • params
)

Parameters:

  • params Object

    Constructor parameters

    • [anchorCount=60] Integer optional

      Optional number of anchors to use to approximate the perimeter. default is 60.

    • shape String

      Required. the name of the shape. Valid values are 'rectangle', 'square', 'ellipse', 'circle', 'triangle' and 'diamond'

    • [rotation] Number optional

      Optional rotation, in degrees, to apply.

Item Index