var font = new Font("12pt");
font.setFamily("Arial");
font.setWeight(Font.WEIGHT_BOLD);
font.setDecoration("none");
font.setStyle(Font.STYLE_NORMAL);

 

var symbol = new TextSymbol(this.textInput.value);
symbol.setAlign(TextSymbol.ALIGN_MIDDLE);
symbol.setColor(new Color("#2A506F"));
symbol.setFont(font);
symbol.setText("你好。");
symbol.setHaloColor(new Color([255, 255, 255, 1]));  //
symbol.setHaloSize(1);  //
symbol.setAngle(angle);

  

相关文章:

  • 2021-06-21
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-07-09
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案