代码调整
This commit is contained in:
parent
00887b7409
commit
da024251de
17
src/iscs_new/core/shape/ArcShape.js
Normal file
17
src/iscs_new/core/shape/ArcShape.js
Normal file
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user