Module Circle-PIXI.Impl

let create: ?⁠x:float => ?⁠y:float => ?⁠radius:float => unit => t;
let getRadius: Js.t(_t) => float;
let setRadius: Js.t(_t) => float => unit;
let getX: Js.t(_t) => float;

position of the circle on the x axis

let setX: Js.t(_t) => float => unit;

position of the circle on the x axis

let getY: Js.t(_t) => float;

position of the circle on the y axis

let setY: Js.t(_t) => float => unit;

position of the circle on the y axis

let _getType: Js.t(_t) => int;
let getType: Js.t(_t) => PIXI.SHAPES.t;

The type of the object, mainly used to avoid instanceof checks

let clone: Js.t(_t) => Js.t(_t);

Creates a clone of this polygon

let contains: Js.t(_t) => x:float => y:float => bool;

Checks whether the x and y coordinates passed to this function are contained within this polygon

let getBounds: Js.t(_t) => Js.t(PIXI.Rectangle.#_t);

Returns the framing rectangle of the circle as a Rectangle object