pixi.js / packages / graphics /
@Matt Karl Matt Karl authored on 20 Sep 2019
..
src Fix broken batch rendering of Graphics by custom Graphics plugin (#6061) 5 years ago
test Fix bounds of empty Graphics with children (#6042) 5 years ago
LICENSE Update LICENSE files to 2018 (#4585) 7 years ago
README.md Decouple Canvas Functionality (v5) (#4429) 7 years ago
package.json v5.1.4 5 years ago
README.md

@pixi/graphics

Installation

npm install @pixi/graphics

Usage

import { GraphicsRenderer } from '@pixi/graphics';
import { Renderer } from '@pixi/core';

Renderer.registerPlugin('graphics', GraphicsRenderer);