Udostępnij za pośrednictwem


Bitmap.SetConfig(Bitmap+Config) Method

Definition

Convenience method for calling #reconfigure(int, int, Config) with the current height and width.

[Android.Runtime.Register("setConfig", "(Landroid/graphics/Bitmap$Config;)V", "")]
public void SetConfig (Android.Graphics.Bitmap.Config config);
[<Android.Runtime.Register("setConfig", "(Landroid/graphics/Bitmap$Config;)V", "")>]
member this.SetConfig : Android.Graphics.Bitmap.Config -> unit

Parameters

config
Bitmap.Config
Attributes

Remarks

Java documentation for android.graphics.Bitmap.setConfig(android.graphics.Config).

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.

Applies to

See also

  • <xref:Android.Graphics.Bitmap.Reconfigure(System.Int32%2c+System.Int32%2c+System.Int32)>
  • Width
  • Height