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/gis-common.es.js +7 -5
- package/dist/gis-common.umd.js +1 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
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,
|
|
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;
|