Skip to main content

ArcCircle

ArcCircle

A representation of an ArcCircle shape.


Constructor

public ArcCircle

new ArcCircle(pos, radius, a0, a1)

Constructor for ArcCircle.

Parameters

  •  pos: Vector – The position.

  •  radius: number – The radius.

  •  a0: number – The starting angle.

  •  a1: number – The ending angle.


Properties

No publicly accessible properties on ArcCircle

protected a0: number

Description needed

protected a1: number

Description needed


Methods

public draw

draw(ctx) => void

Draws the ArcCircle on the canvas.

Parameters

  •  ctx: CanvasRenderingContext2D – Provides the 2D rendering context for the drawing surface of an element.

Static Methods

No static methods for ArcCircle