@compass-framework/core 1.1.9 → 1.2.1
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/@types/Drawable.d.ts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { BitmapDrawable } from "./BitmapDrawable";
|
|
2
|
+
import { Paint } from "./Paint";
|
|
2
3
|
import { Picture } from "./Picture";
|
|
3
4
|
|
|
4
5
|
export declare class PictureDrawable extends BitmapDrawable {
|
|
5
|
-
public constructor(url
|
|
6
|
+
public constructor(url?: string);
|
|
6
7
|
|
|
7
8
|
public invalidate() : void;
|
|
8
9
|
|
|
9
|
-
public
|
|
10
|
+
public setUrl(url: string): void;
|
|
11
|
+
|
|
12
|
+
public getUrl(): string;
|
|
10
13
|
|
|
11
14
|
public getPicture(): Picture;
|
|
12
15
|
|
|
16
|
+
public getPaint(): Paint;
|
|
17
|
+
|
|
18
|
+
public getPictureWidth(): number;
|
|
19
|
+
|
|
13
20
|
public getPictureHeight(): number
|
|
14
21
|
}
|