iOS corner path

This commit is contained in:
pengfei.zhou
2019-08-02 20:24:05 +08:00
parent e5648242f7
commit 740848e604
2 changed files with 59 additions and 5 deletions

View File

@@ -48,10 +48,7 @@ class CounterView extends ViewHolder {
offsetX: -10,
offsetY: 10,
}
vlayout.corners = {
leftBottom: 10,
rightBottom: 20,
}
vlayout.corners = 20
vlayout.addChild(this.number)
vlayout.addChild(this.counter)
// root.bgColor = Color.parse('#00ff00')