diff --git a/src/iscs_new/core/shape/ArcShape.js b/src/iscs_new/core/shape/ArcShape.js new file mode 100644 index 000000000..672e15c58 --- /dev/null +++ b/src/iscs_new/core/shape/ArcShape.js @@ -0,0 +1,17 @@ + +import Arc from 'zrender/src/graphic/shape/Arc'; +export default class ArcShape extends Arc { + constructor(opts) { + opts.shape.startAngle = Math.PI / 180 * opts.shape.startAngle; + opts.shape.endAngle = Math.PI / 180 * opts.shape.endAngle; + super(opts); + } + + setStyle(style) { + super.setStyle(style); + } + + attr(key, value) { + super.attr(key, value); + } +}