Module RoundedRectangle-PIXI.Impl

let create: ?⁠x:float => ?⁠y:float => ?⁠width:float => ?⁠height:float => ?⁠radius:float => unit => t;
let getHeight: Js.t(_t) => float;
let setHeight: Js.t(_t) => float => unit;
let getWidth: Js.t(_t) => float;
let setWidth: Js.t(_t) => float => unit;
let getRadius: Js.t(_t) => float;

Controls the radius of the rounded corners

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

Controls the radius of the rounded corners

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 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 clone: Js.t(_t) => Js.t(_t);

Creates a clone of this rounded rectangle

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 rounded rectangle