EarthSDK
    正在准备搜索索引...

    函数 drawTextBlock

    • 参数

      • ctx: CanvasRenderingContext2D
      • left: number
      • top: number
      • originRatioAndOffset: [number, number, number, number] = ...
      • text: string
      • fontStyle: string = '12px Arial'
      • borderWidth: number = 2
      • fgStyle: string = '#FFF'
      • bgStyle: string = '#000A'

      返回 void