5 Star 4 Fork 1

HarmonyOS-TPC / MyLittleCanvas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ArcShape.md 862 Bytes
一键复制 编辑 原始数据 按行查看 历史
florent champigny 提交于 2018-04-06 16:01 . fix javadoc

ArcShape

Inherits from RectShape

Position

  • setCenterX(float centerX)
  • setCenterY(float centerY)
  • setRadius(float radius)

Decoration

  • .setStartAngle(float startAngle)

  • .setEndAngle(float endAngle)

  • .setStrokeWidth(float strokeWidth)

Animation

it inherit methods from RectShapeAnimation

Added methods:

  • .animate().startAngle(float... values)

  • .animate().startAngleTo(float... values)

  • .animate().startAngleBy(float... values)

  • .animate().startAnglePlus(float... values)

  • .animate().endAngle(float... values)

  • .animate().endAngleTo(float... values)

  • .animate().endAngleBy(float... values)

  • .animate().endAnglePlus(float... values)

1
https://gitee.com/HarmonyOS-tpc/MyLittleCanvas.git
git@gitee.com:HarmonyOS-tpc/MyLittleCanvas.git
HarmonyOS-tpc
MyLittleCanvas
MyLittleCanvas
master

搜索帮助