How to draw rounded rectangle

An example showing how to draw rounded rectangle in PIXI.js 3.0 using Tizen 2.3.
var g = new PIXI.Graphics();
g.beginFill(0x000000); // black color
// x, y, width, height, radius
g.drawRoundedRect(0, 0, 100, 100, 10);
g.endFill();

Responses

0 Replies