From b12f0b3bb71dfa22ac91d0d07463a7da7646e049 Mon Sep 17 00:00:00 2001 From: Mike Norman Date: Mon, 24 Jul 2017 15:31:47 -0500 Subject: Improved the API doc for Image.IsOpaque (#1025) * Improved the API doc for Image.IsOpaque * update docs --- docs/Xamarin.Forms.Core/Xamarin.Forms/Image.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/Xamarin.Forms.Core/Xamarin.Forms/Image.xml b/docs/Xamarin.Forms.Core/Xamarin.Forms/Image.xml index bee59335..cbc6281e 100644 --- a/docs/Xamarin.Forms.Core/Xamarin.Forms/Image.xml +++ b/docs/Xamarin.Forms.Core/Xamarin.Forms/Image.xml @@ -192,9 +192,12 @@ indicator.BindingContext = image;]]> System.Boolean - Gets or sets the opacity flag for the image. This is a bindable property. - A indicating the value for the property. Default is false. - If true, you'll be able to see through transparent parts of the image. + Gets or sets a Boolean value that, if hints to the rendering engine that it may safely omit drawing visual elements behind the image. + The value of the opacity rendering hint. + + When this property is , and if the property is set to its default value of 1.0, and if the source image is not transparent, then the rendering engine on the target platform can safely ignore those portions of visual elements that appear behind this image when drawing the screen. This can improve performance. However, developers should not set this property to if the alpha channel of the image indicates transparency, if the property is less than 1.0, or if the source image itself is transparent. Doing any of these when this property is may result in visual artifacts or other (undefined) behavior. Conversely, developers should ensure that this property is set to if they suspect or know that any of the previously mentioned conditions may indicate that the image will be transparent or partially transparent. + Setting this property does not change the opacity of the image. Instead, it indicates whether the rendering engine may treat the image as opaque while rendering. + @@ -214,7 +217,7 @@ indicator.BindingContext = image;]]> Xamarin.Forms.BindableProperty - Identifies the IsOpaque bindable property. + Backing store for the IsOpaque bindable property. -- cgit v1.2.3