代码拉取完成,页面将自动刷新
export { getEnv, getFabricDocument, getFabricWindow, setEnv } from './src/env';
export { cache } from './src/cache';
export { VERSION as version, iMatrix } from './src/constants';
export { config } from './src/config';
export { classRegistry } from './src/ClassRegistry';
export { runningAnimations } from './src/util/animation/AnimationRegistry';
export * from './src/typedefs';
export * from './src/EventTypeDefs';
export { Observable } from './src/Observable';
export type {
TCanvasSizeOptions,
TSVGExportOptions,
} from './src/canvas/StaticCanvas';
export type { StaticCanvasOptions } from './src/canvas/StaticCanvasOptions';
export { StaticCanvas } from './src/canvas/StaticCanvas';
export { Canvas } from './src/canvas/Canvas';
export type { CanvasOptions } from './src/canvas/CanvasOptions';
export { CanvasDOMManager } from './src/canvas/DOMManagers/CanvasDOMManager';
export { StaticCanvasDOMManager } from './src/canvas/DOMManagers/StaticCanvasDOMManager';
export type { XY } from './src/Point';
export { Point } from './src/Point';
export type { IntersectionType } from './src/Intersection';
export { Intersection } from './src/Intersection';
export { Color } from './src/color/Color';
export * from './src/color/typedefs';
export * from './src/gradient';
export * from './src/Pattern';
export { Shadow } from './src/Shadow';
export type { SerializedShadowOptions } from './src/Shadow';
export { BaseBrush } from './src/brushes/BaseBrush';
export * from './src/brushes/typedefs';
export { PencilBrush } from './src/brushes/PencilBrush';
export { CircleBrush } from './src/brushes/CircleBrush';
export { SprayBrush } from './src/brushes/SprayBrush';
export { PatternBrush } from './src/brushes/PatternBrush';
export {
FabricObject,
/**
* @deprecated Due to a naming conflict with the
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object JS API},
* `fabric.Object` has been renamed to `FabricObject`
*
* @example
* import { Object } from 'fabric'; // deprecated
* import { FabricObject } from 'fabric'; // migration path
*
*/
FabricObject as Object,
} from './src/shapes/Object/FabricObject';
/**
* Exported so we can tweak default values
*/
export { FabricObject as BaseFabricObject } from './src/shapes/Object/Object';
export type {
TFabricObjectProps,
FabricObjectProps,
SerializedObjectProps,
} from './src/shapes/Object/types';
export type { SerializedLineProps } from './src/shapes/Line';
export { Line } from './src/shapes/Line';
export type { CircleProps, SerializedCircleProps } from './src/shapes/Circle';
export { Circle } from './src/shapes/Circle';
export { Triangle } from './src/shapes/Triangle';
export type {
EllipseProps,
SerializedEllipseProps,
} from './src/shapes/Ellipse';
export { Ellipse } from './src/shapes/Ellipse';
export type { RectProps, SerializedRectProps } from './src/shapes/Rect';
export { Rect } from './src/shapes/Rect';
export type { PathProps, SerializedPathProps } from './src/shapes/Path';
export { Path } from './src/shapes/Path';
export type { SerializedPolylineProps } from './src/shapes/Polyline';
export { Polyline } from './src/shapes/Polyline';
export { Polygon } from './src/shapes/Polygon';
export type {
GraphemeBBox,
SerializedTextProps,
TPathAlign,
TPathSide,
TextProps,
} from './src/shapes/Text/Text';
export {
FabricText,
/**
* @deprecated Due to a naming conflict with the
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Text/Text Web API},
* `fabric.Text` has been renamed to `FabricText`
*
* @example
* import { Text } from 'fabric'; // deprecated
* import { FabricText } from 'fabric'; // migration path
*
*/
FabricText as Text,
} from './src/shapes/Text/Text';
export type {
ITextProps,
SerializedITextProps,
} from './src/shapes/IText/IText';
export { IText } from './src/shapes/IText/IText';
export type {
GraphemeData,
SerializedTextboxProps,
TextboxProps,
} from './src/shapes/Textbox';
export { Textbox } from './src/shapes/Textbox';
export type {
CompleteTextStyleDeclaration,
TextStyleDeclaration,
TextStyle,
} from './src/shapes/Text/StyledText';
export type {
GroupEvents,
GroupProps,
GroupOwnProps,
SerializedGroupProps,
} from './src/shapes/Group';
export { Group } from './src/shapes/Group';
export * from './src/LayoutManager';
export type { SerializedLayoutManager } from './src/LayoutManager';
export type {
ActiveSelectionOptions,
MultiSelectionStacking,
} from './src/shapes/ActiveSelection';
export { ActiveSelection } from './src/shapes/ActiveSelection';
export {
FabricImage,
/**
* @deprecated Due to a naming conflict with the
* {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image Web API},
* `fabric.Image` has been renamed to `FabricImage`
*
* @example
* import { Image } from 'fabric'; // deprecated
* import { FabricImage } from 'fabric'; // migration path
*
*/
FabricImage as Image,
} from './src/shapes/Image';
export type {
ImageSource,
SerializedImageProps,
ImageProps,
} from './src/shapes/Image';
export { createCollectionMixin } from './src/Collection';
export * as util from './src/util';
export { loadSVGFromString } from './src/parser/loadSVGFromString';
export { loadSVGFromURL } from './src/parser/loadSVGFromURL';
export { parseSVGDocument } from './src/parser/parseSVGDocument';
// todo convert tests to jest and stop exporting those.
export { parseAttributes } from './src/parser/parseAttributes';
export { parseStyleAttribute } from './src/parser/parseStyleAttribute';
export { parsePointsAttribute } from './src/parser/parsePointsAttribute';
export { parseTransformAttribute } from './src/parser/parseTransformAttribute';
export { getCSSRules } from './src/parser/getCSSRules';
export { parseFontDeclaration } from './src/parser/parseFontDeclaration';
export { Control } from './src/controls/Control';
export * as controlsUtils from './src/controls';
export * from './src/filters';
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。