@antv/g-canvas
Advanced tools
Comparing version 0.5.0-beta.1 to 0.5.0-beta.2
import * as Shape from './shape'; | ||
var pkg = require('../package.json'); | ||
export var version = pkg.version; | ||
export * from './types'; | ||
export * from './interfaces'; | ||
export { Event } from '@antv/g-base'; | ||
@@ -5,0 +7,0 @@ export { default as Canvas } from './canvas'; |
@@ -0,1 +1,3 @@ | ||
// 导出 g-base 中的 interfaces | ||
export * from '@antv/g-base/lib/interfaces'; | ||
//# sourceMappingURL=interfaces.js.map |
@@ -0,1 +1,3 @@ | ||
// 导出 g-base 中的 types | ||
export * from '@antv/g-base/lib/types'; | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Shape = exports.version = void 0; | ||
var tslib_1 = require("tslib"); | ||
var Shape = require("./shape"); | ||
@@ -7,8 +9,10 @@ exports.Shape = Shape; | ||
exports.version = pkg.version; | ||
tslib_1.__exportStar(require("./types"), exports); | ||
tslib_1.__exportStar(require("./interfaces"), exports); | ||
var g_base_1 = require("@antv/g-base"); | ||
exports.Event = g_base_1.Event; | ||
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return g_base_1.Event; } }); | ||
var canvas_1 = require("./canvas"); | ||
exports.Canvas = canvas_1.default; | ||
Object.defineProperty(exports, "Canvas", { enumerable: true, get: function () { return canvas_1.default; } }); | ||
var group_1 = require("./group"); | ||
exports.Group = group_1.default; | ||
Object.defineProperty(exports, "Group", { enumerable: true, get: function () { return group_1.default; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
// 导出 g-base 中的 interfaces | ||
tslib_1.__exportStar(require("@antv/g-base/lib/interfaces"), exports); | ||
//# sourceMappingURL=interfaces.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var base_1 = require("./base"); | ||
exports.Base = base_1.default; | ||
Object.defineProperty(exports, "Base", { enumerable: true, get: function () { return base_1.default; } }); | ||
var circle_1 = require("./circle"); | ||
exports.Circle = circle_1.default; | ||
Object.defineProperty(exports, "Circle", { enumerable: true, get: function () { return circle_1.default; } }); | ||
var ellipse_1 = require("./ellipse"); | ||
exports.Ellipse = ellipse_1.default; | ||
Object.defineProperty(exports, "Ellipse", { enumerable: true, get: function () { return ellipse_1.default; } }); | ||
var image_1 = require("./image"); | ||
exports.Image = image_1.default; | ||
Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return image_1.default; } }); | ||
var line_1 = require("./line"); | ||
exports.Line = line_1.default; | ||
Object.defineProperty(exports, "Line", { enumerable: true, get: function () { return line_1.default; } }); | ||
var marker_1 = require("./marker"); | ||
exports.Marker = marker_1.default; | ||
Object.defineProperty(exports, "Marker", { enumerable: true, get: function () { return marker_1.default; } }); | ||
var path_1 = require("./path"); | ||
exports.Path = path_1.default; | ||
Object.defineProperty(exports, "Path", { enumerable: true, get: function () { return path_1.default; } }); | ||
var polygon_1 = require("./polygon"); | ||
exports.Polygon = polygon_1.default; | ||
Object.defineProperty(exports, "Polygon", { enumerable: true, get: function () { return polygon_1.default; } }); | ||
var polyline_1 = require("./polyline"); | ||
exports.Polyline = polyline_1.default; | ||
Object.defineProperty(exports, "Polyline", { enumerable: true, get: function () { return polyline_1.default; } }); | ||
var rect_1 = require("./rect"); | ||
exports.Rect = rect_1.default; | ||
Object.defineProperty(exports, "Rect", { enumerable: true, get: function () { return rect_1.default; } }); | ||
var text_1 = require("./text"); | ||
exports.Text = text_1.default; | ||
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return text_1.default; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
// 导出 g-base 中的 types | ||
tslib_1.__exportStar(require("@antv/g-base/lib/types"), exports); | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addEndArrow = exports.addStartArrow = exports.getShortenOffset = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var shape_1 = require("../shape"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.mergeView = exports.getMergedRegion = exports.getRefreshRegion = exports.refreshElement = exports.drawPath = exports.clearChanged = exports.checkChildrenRefresh = exports.checkRefresh = exports.drawChildren = exports.applyAttrsToContext = void 0; | ||
var util_1 = require("@antv/util"); | ||
@@ -4,0 +5,0 @@ var parse_1 = require("./parse"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getShape = void 0; | ||
var util_1 = require("@antv/g-base/lib/util/util"); | ||
@@ -4,0 +5,0 @@ var matrix_1 = require("@antv/g-base/lib/util/matrix"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseRadius = exports.parseStyle = exports.parsePattern = exports.parseRadialGradient = exports.parseLineGradient = void 0; | ||
var util_1 = require("./util"); | ||
@@ -4,0 +5,0 @@ var regexTags = /[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isSamePoint = exports.mergeRegion = exports.intersectRect = exports.inBox = exports.distance = exports.getPixelRatio = void 0; | ||
function getPixelRatio() { | ||
@@ -60,21 +61,21 @@ return window ? window.devicePixelRatio : 1; | ||
var is_nil_1 = require("@antv/util/lib/is-nil"); | ||
exports.isNil = is_nil_1.default; | ||
Object.defineProperty(exports, "isNil", { enumerable: true, get: function () { return is_nil_1.default; } }); | ||
var is_string_1 = require("@antv/util/lib/is-string"); | ||
exports.isString = is_string_1.default; | ||
Object.defineProperty(exports, "isString", { enumerable: true, get: function () { return is_string_1.default; } }); | ||
var is_function_1 = require("@antv/util/lib/is-function"); | ||
exports.isFunction = is_function_1.default; | ||
Object.defineProperty(exports, "isFunction", { enumerable: true, get: function () { return is_function_1.default; } }); | ||
var is_array_1 = require("@antv/util/lib/is-array"); | ||
exports.isArray = is_array_1.default; | ||
Object.defineProperty(exports, "isArray", { enumerable: true, get: function () { return is_array_1.default; } }); | ||
var each_1 = require("@antv/util/lib/each"); | ||
exports.each = each_1.default; | ||
Object.defineProperty(exports, "each", { enumerable: true, get: function () { return each_1.default; } }); | ||
var to_radian_1 = require("@antv/util/lib/to-radian"); | ||
exports.toRadian = to_radian_1.default; | ||
Object.defineProperty(exports, "toRadian", { enumerable: true, get: function () { return to_radian_1.default; } }); | ||
var mod_1 = require("@antv/util/lib/mod"); | ||
exports.mod = mod_1.default; | ||
Object.defineProperty(exports, "mod", { enumerable: true, get: function () { return mod_1.default; } }); | ||
var is_number_equal_1 = require("@antv/util/lib/is-number-equal"); | ||
exports.isNumberEqual = is_number_equal_1.default; | ||
Object.defineProperty(exports, "isNumberEqual", { enumerable: true, get: function () { return is_number_equal_1.default; } }); | ||
var request_animation_frame_1 = require("@antv/util/lib/request-animation-frame"); | ||
exports.requestAnimationFrame = request_animation_frame_1.default; | ||
Object.defineProperty(exports, "requestAnimationFrame", { enumerable: true, get: function () { return request_animation_frame_1.default; } }); | ||
var clear_animation_frame_1 = require("@antv/util/lib/clear-animation-frame"); | ||
exports.clearAnimationFrame = clear_animation_frame_1.default; | ||
Object.defineProperty(exports, "clearAnimationFrame", { enumerable: true, get: function () { return clear_animation_frame_1.default; } }); | ||
//# sourceMappingURL=util.js.map |
{ | ||
"name": "@antv/g-canvas", | ||
"version": "0.5.0-beta.1", | ||
"version": "0.5.0-beta.2", | ||
"description": "A canvas library which providing 2d", | ||
@@ -65,4 +65,3 @@ "main": "lib/index.js", | ||
}, | ||
"__npminstall_done": false, | ||
"gitHead": "f1dd2cc436ea123939f400a9a9d88f1ebce46be9" | ||
"__npminstall_done": false | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1459433
7924