diff --git a/tns-core-modules/ui/image/image.d.ts b/tns-core-modules/ui/image/image.d.ts index 4228e445a..0677cac30 100644 --- a/tns-core-modules/ui/image/image.d.ts +++ b/tns-core-modules/ui/image/image.d.ts @@ -3,7 +3,7 @@ * @module "ui/image" */ /** */ -import { View, Property, InheritedCssProperty, Color, Style } from "../core/view"; +import { View, Property, InheritedCssProperty, Color, Style, Length } from "../core/view"; import { ImageSource } from "../../image-source"; /** @@ -52,6 +52,18 @@ export class Image extends View { * A color used to tint template images. */ tintColor: Color; + + /** + * Gets or sets the desired decode height of the image. + * This property is Android specific. + */ + decodeHeight: Length; + + /** + * Gets or sets the desired decode width of the image. + * This property is Android specific. + */ + decodeWidth: Length; } export type Stretch = "none" | "aspectFill" | "aspectFit" | "fill"; @@ -61,4 +73,6 @@ export const srcProperty: Property; export const isLoadingProperty: Property; export const loadMode: Property; export const stretchProperty: Property; -export const tintColorProperty: InheritedCssProperty; \ No newline at end of file +export const tintColorProperty: InheritedCssProperty; +export const decodeHeightProperty: Property; +export const decodeWidthProperty: Property; \ No newline at end of file