示例#1
0
  private Node createPlayControl() {
    // play control
    final Arc playButton =
        ArcBuilder.create()
            .type(ArcType.ROUND)
            .centerX(12)
            .centerY(16)
            .radiusX(15)
            .radiusY(15)
            .startAngle(180 - 30)
            .length(60)
            .fill(new Color(1, 1, 1, .90))
            .translateX(40)
            .build();

    return playButton;
  }