konva/src/_CoreInternals.ts

48 lines
849 B
TypeScript
Raw Normal View History

2019-03-07 11:19:32 +08:00
// what is core parts of Konva?
2021-05-05 22:54:03 +08:00
import { Konva as Global } from './Global';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Util, Transform } from './Util';
import { Node, ids, names } from './Node';
import { Container } from './Container';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Stage, stages } from './Stage';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Layer } from './Layer';
import { FastLayer } from './FastLayer';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Group } from './Group';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { DD } from './DragAndDrop';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Shape, shapes } from './Shape';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Animation } from './Animation';
import { Tween, Easings } from './Tween';
2019-03-07 11:19:32 +08:00
2021-05-05 22:54:03 +08:00
import { Context } from './Context';
import { Canvas } from './Canvas';
export const Konva = Util._assign(Global, {
2019-03-07 11:19:32 +08:00
Util,
Transform,
2019-03-07 11:19:32 +08:00
Node,
ids,
names,
Container,
Stage,
stages,
Layer,
FastLayer,
Group,
DD,
Shape,
shapes,
Animation,
Tween,
2019-03-10 23:51:14 +08:00
Easings,
Context,
2021-04-30 22:24:27 +08:00
Canvas,
2019-03-07 11:19:32 +08:00
});
2021-04-30 22:24:27 +08:00
export default Konva;