@studiokeywi/banjo - v0.0.1
    Preparing search index...

    A Circle is a non-polygonal round shape defined by all the points a set radius away from a central point

    Index

    Constructors

    • Create a new circle

      Parameters

      • position: Vector2 = ...

        Location of the circle

      • radius: number = 0

        Radius of the circle

      Returns Circle

    Accessors

    • get radius(): number

      The radius of the circle

      Returns number

    Methods

    • Get the box that contains this circle

      Returns Box

      The containing box

    • Get the polygon representation of the box that contains this circle

      Returns Quad

      The containing polygon

    • Set the offset of this circle

      Parameters

      Returns this

      This object for chaining