new Graphics() The Graphics class contains methods used to draw primitive shapes such as lines, circles and rectangles to the display
removeChild(child) → {DisplayObject}
beginFill(color, alpha) → {PIXI.Graphics}
addChild(child) → {DisplayObject}
width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
moveTo(x, y) → {PIXI.Graphics}
drawRoundedRect(x, y, width, height, radius) Parameters Name Type Description
drawPolygon(path) → {PIXI.Graphics}
blendMode : number The blend mode to be applied to the graphic shape. Apply a value of PIXI.blendModes.NORMAL to reset the blend
bezierCurveTo(cpX, cpY, cpX2, cpY2, toX, toY) → {PIXI
Page 4 of 5