Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@pixi/graphics

pixijs535.2kMIT7.4.3TypeScript support: included

Draw primitive shapes such as lines, circles and rectangles to the display

readme

@pixi/graphics

Installation

npm install @pixi/graphics

Usage

import { Graphics } from '@pixi/graphics';

const shapes = new Graphics();