add @pixi/graphics-extras

This commit is contained in:
Yuan 2023-12-13 10:39:56 +08:00
parent 6ba32ee900
commit e3b2e50a45
3 changed files with 6 additions and 0 deletions

1
lib/index.d.ts vendored
View File

@ -1,3 +1,4 @@
export * as GraphicsExtras from '@pixi/graphics-extras';
export * from './app'; export * from './app';
export * from './core'; export * from './core';
export * from './graphic'; export * from './graphic';

View File

@ -1,3 +1,5 @@
import * as graphicsExtras from '@pixi/graphics-extras';
export { graphicsExtras as GraphicsExtras };
import { Graphics, Container, Text, Point, Matrix, Color, Polygon, DisplayObject, Rectangle, Application, BitmapFont, BitmapText } from 'pixi.js'; import { Graphics, Container, Text, Point, Matrix, Color, Polygon, DisplayObject, Rectangle, Application, BitmapFont, BitmapText } from 'pixi.js';
import EventEmitter from 'eventemitter3'; import EventEmitter from 'eventemitter3';
import { Viewport } from 'pixi-viewport'; import { Viewport } from 'pixi-viewport';

View File

@ -1,3 +1,6 @@
export * as GraphicsExtras from '@pixi/graphics-extras';
export * from './app'; export * from './app';
export * from './core'; export * from './core';
export * from './graphic'; export * from './graphic';