Class: FlowerShape

phina.display.FlowerShape

new phina.display.FlowerShape (options)

花の形状のShape class
Name Type Description
options object extends phina.display.Shape parameters
Name Type Default Description
petalNum number 22 optional 花びらの数
petalWidth number 16 optional 花びらの幅
Example
import {FlowerShape} from '@pentamania/phina-extensions'

const flower = FlowerShape({
  radius: 60,
  petalNum: 24,
  petalWidth: 12,
}).addChildTo(this)

Extends

  • phina.display.Shape