CanvasRenderingContext2D .lineDashOffset 是 Canvas 2D API 设置虚线偏移量的属性,例如可以实现“跑马灯“ 的效果。 语法. ctx.lineDashOffset = value;.
確定! 回上一頁