feat: impliment getSelftRect method for Arc

This commit is contained in:
i18u
2021-11-25 19:05:56 +08:00
parent f771910578
commit 279eaac88c
8 changed files with 61 additions and 11 deletions

View File

@@ -89,10 +89,10 @@ describe('Arc', function () {
stage.add(layer);
assert.deepEqual(arc.getSelfRect(), {
x: -80,
y: -80,
width: 160,
height: 160,
x: 0,
y: 0,
width: 80,
height: 80,
});
});