Class: DashedLineShape

phina.display.DashedLineShape

new phina.display.DashedLineShape (options)

Name Type Description
options DashedLineShapeParams optional phina.display.Shape param with 'segments' option (type: Array <number>)
Example
DashedLineShape({
  width: 1080,
  segments: [10, 20, 30]
})
  .setPosition(this.width*0.5, 100)
  .addChildTo(this);

Extends

  • phina.display.Shape