BitmapShader.SetOverrideGainmap(Gainmap) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws the BitmapShader with a copy of the given gainmap instead of the gainmap on the Bitmap the shader was constructed from
[Android.Runtime.Register("setOverrideGainmap", "(Landroid/graphics/Gainmap;)V", "GetSetOverrideGainmap_Landroid_graphics_Gainmap_Handler", ApiSince=35)]
public virtual void SetOverrideGainmap (Android.Graphics.Gainmap? overrideGainmap);
[<Android.Runtime.Register("setOverrideGainmap", "(Landroid/graphics/Gainmap;)V", "GetSetOverrideGainmap_Landroid_graphics_Gainmap_Handler", ApiSince=35)>]
abstract member SetOverrideGainmap : Android.Graphics.Gainmap -> unit
override this.SetOverrideGainmap : Android.Graphics.Gainmap -> unit
Parameters
- overrideGainmap
- Gainmap
The gainmap to draw instead, null to use any gainmap on the Bitmap
- Attributes
Remarks
Draws the BitmapShader with a copy of the given gainmap instead of the gainmap on the Bitmap the shader was constructed from
Java documentation for android.graphics.BitmapShader.setOverrideGainmap(android.graphics.Gainmap)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.