Circle#circumference()

circumference() → {number} The circumference of the circle. Returns number - The circumference of the circle. Source code: geom/Circle.js (Line 60)

Circle#Circle

new Circle(x, y, diameter) Creates a new Circle object with the center coordinate specified by the x and y parameters and the diameter specified by the diameter parameter.If you call this function without parameters, a circle with x, y, diameter and radius properties set to 0 is created. Parameters Name Type Argument Default Description x number <optional> 0 The x coordinate of the center of the circle. y number <optional> 0 The y coordinate of the center of the circle.

Circle#bottom

bottom : number The sum of the y and radius properties. Changing the bottom property of a Circle object has no effect on the x and y properties, but does change the diameter. Gets or sets the bottom of the circle. Source code: geom/Circle.js (Line 385)

Circle#area

[readonly] area : number The area of this Circle. Source code: geom/Circle.js (Line 412)

CanvasRenderer#width

width : number The width of the canvas view Default Value 800 Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 69)

CanvasRenderer#view

view :HTMLCanvasElement The canvas element that everything is drawn to. Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 87)

CanvasRenderer#type

type : number The renderer type. Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 25)

CanvasRenderer#transparent

transparent : boolean Whether the render view is transparent Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 53)

CanvasRenderer#resolution

resolution : number The resolution of the canvas. Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 33)

CanvasRenderer#resize()

resize(width, height) Resizes the canvas view to the specified width and height Parameters Name Type Description width Number the new width of the canvas view height Number the new height of the canvas view Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 216)