1 | import { Image as ImageDefinition } from '.';
|
2 | import { View } from '../core/view';
|
3 | import { CoreTypes } from '../../core-types';
|
4 | import { ImageAsset } from '../../image-asset';
|
5 | import { ImageSource, iosSymbolScaleType } from '../../image-source';
|
6 | import { Color } from '../../color';
|
7 | import { Style } from '../styling/style';
|
8 | import { Property, InheritedCssProperty } from '../core/properties';
|
9 | import { ImageSymbolEffect, ImageSymbolEffects } from './symbol-effects';
|
10 | export declare abstract class ImageBase extends View implements ImageDefinition {
|
11 | imageSource: ImageSource;
|
12 | src: string | ImageSource | ImageAsset;
|
13 | isLoading: boolean;
|
14 | stretch: CoreTypes.ImageStretchType;
|
15 | loadMode: 'sync' | 'async';
|
16 | decodeWidth: CoreTypes.LengthType;
|
17 | decodeHeight: CoreTypes.LengthType;
|
18 | iosSymbolScale: iosSymbolScaleType;
|
19 | get tintColor(): Color;
|
20 | set tintColor(value: Color);
|
21 | disposeImageSource(): void;
|
22 | |
23 |
|
24 |
|
25 | _createImageSourceFromSrc(value: string | ImageSource | ImageAsset): void;
|
26 | }
|
27 | export declare const imageSourceProperty: Property<ImageBase, ImageSource>;
|
28 | export declare const srcProperty: Property<ImageBase, string | ImageSource | ImageAsset>;
|
29 | export declare const loadModeProperty: Property<ImageBase, "sync" | "async">;
|
30 | export declare const isLoadingProperty: Property<ImageBase, boolean>;
|
31 | export declare const stretchProperty: Property<ImageBase, CoreTypes.ImageStretchType>;
|
32 | export declare const tintColorProperty: InheritedCssProperty<Style, Color>;
|
33 | export declare const decodeHeightProperty: Property<ImageBase, CoreTypes.LengthType>;
|
34 | export declare const decodeWidthProperty: Property<ImageBase, CoreTypes.LengthType>;
|
35 |
|
36 |
|
37 |
|
38 | export declare const iosSymbolEffectProperty: Property<ImageBase, ImageSymbolEffect | ImageSymbolEffects>;
|
39 |
|
40 |
|
41 |
|
42 | export declare const iosSymbolScaleProperty: Property<ImageBase, iosSymbolScaleType>;
|
43 | export { ImageSymbolEffect, ImageSymbolEffects };
|