ixfx
    Preparing search index...

    Namespace Shapes

    Generate a few basic geometric shapes Overview:

    Functions

    arrow

    Returns the points forming an arrow.

    center

    Returns the center of a shape Shape can be: rectangle, triangle, circle

    isIntersecting

    Returns the intersection result between a and b. a can be a Circles.CirclePositioned or Rects.RectPositioned b can be as above or a Point.

    randomPoint

    Returns a random point within a shape. shape can be Circles.CirclePositioned or Rects.RectPositioned

    starburst

    Generates a starburst shape, returning an array of points. By default, initial point is top and horizontally-centred.

    Type Aliases

    ArrowOpts
    ContainsResult
    PointCalculableShape
    ShapePositioned
    ShapeRandomPointOpts
    Sphere