gis-common 5.1.34 → 5.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -293,7 +293,11 @@ export declare class CanvasDrawer {
293
293
  * @throws 当Canvas context为null或undefined时抛出错误
294
294
  */
295
295
  drawArc({ x, y }: ICoordinate, radius: number, startAngle: number, endAngle: number, anticlockwise: boolean, isFill: boolean, bgColor: string): void;
296
- drawImage({ x, y }: ICoordinate, image: ImageBitmap, angleDeg?: number, color?: string): void;
296
+ drawImage({ x, y }: ICoordinate, image: ImageBitmap, options?: {
297
+ width?: number;
298
+ height?: number;
299
+ angle?: number;
300
+ }): void;
297
301
  drawText({ x, y }: ICoordinate, text: string, options: {
298
302
  font: string;
299
303
  color: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gis-common",
3
- "version": "5.1.34",
3
+ "version": "5.1.35",
4
4
  "author": "Guo.Yan <luv02@vip.qq.com>",
5
5
  "license": "MIT",
6
6
  "private": false,