@pixi/graphics

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

Usage no npm install needed!

<script type="module">
  import pixiGraphics from 'https://cdn.skypack.dev/@pixi/graphics';
</script>

README

@pixi/graphics

Installation

npm install @pixi/graphics

Usage

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

const shapes = new Graphics();