Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Circle

Index

Constructors

constructor

Properties

p

r

r: number

Methods

area

  • area(): number
  • Returns number

bounds

circumference

  • circumference(): number
  • Returns number

closest

contains

copy

distance

  • distance(p: Point): number
  • Parameters

    Returns number

intersection

intersects

polygon

  • Parameters

    • n: number

    Returns Polygon

rotate

scale

split

  • split(data: number[], mode?: string): Sector[]
  • Parameters

    • data: number[]
    • mode: string = 'angle'

    Returns Sector[]

tangent

translate

  • translate(x: number, y: number): Circle
  • Parameters

    • x: number
    • y: number

    Returns Circle