mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: format
This commit is contained in:
20
nativescript-core/image-asset/index.d.ts
vendored
20
nativescript-core/image-asset/index.d.ts
vendored
@@ -1,17 +1,17 @@
|
||||
import { Observable } from "../data/observable";
|
||||
|
||||
export class ImageAsset extends Observable {
|
||||
constructor(asset: any);
|
||||
getImageAsync(callback: (image: any, error: any) => void); //UIImage for iOS and android.graphics.Bitmap for Android
|
||||
ios: any; //PHAsset
|
||||
nativeImage: any; //UIImage for iOS and android.graphics.Bitmap for Android
|
||||
android: any;
|
||||
options: ImageAssetOptions;
|
||||
constructor(asset: any);
|
||||
getImageAsync(callback: (image: any, error: any) => void); //UIImage for iOS and android.graphics.Bitmap for Android
|
||||
ios: any; //PHAsset
|
||||
nativeImage: any; //UIImage for iOS and android.graphics.Bitmap for Android
|
||||
android: any;
|
||||
options: ImageAssetOptions;
|
||||
}
|
||||
|
||||
export interface ImageAssetOptions {
|
||||
width?: number;
|
||||
height?: number;
|
||||
keepAspectRatio?: boolean;
|
||||
autoScaleFactor?: boolean;
|
||||
width?: number;
|
||||
height?: number;
|
||||
keepAspectRatio?: boolean;
|
||||
autoScaleFactor?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user