@nativescript-community/ui-zoomimage
Version:
Zoomable image view based on @nativescript-community/ui-image
20 lines (19 loc) • 856 B
TypeScript
export * from './index-common';
import { ZoomImageBase, maxZoomScaleProperty, minZoomScaleProperty, zoomScaleProperty } from './index-common';
export declare class ZoomImg extends ZoomImageBase {
[zoomScaleProperty.setNative]: (scale: number) => void;
[minZoomScaleProperty.setNative]: (scale: number) => void;
[maxZoomScaleProperty.setNative]: (scale: number) => void;
nativeViewProtected: com.nativescript.image.ZoomableMatrixImageView;
nativeImageViewProtected: com.nativescript.image.ZoomableMatrixImageView;
createNativeView(): com.nativescript.image.ZoomableMatrixImageView;
initNativeView(): void;
disposeNativeView(): void;
updateImageUri(): any;
setZoom(scale: number, animated?: boolean, point?: {
x: number;
y: number;
}): void;
getZoom(): number;
private notifyZoomChanged;
}