语言

Bitmap.Reconfigure(Int32, Int32, Bitmap+Config) 方法

定义

使用新维度和新配置更新现有位图存储的解释方式。

[Android.Runtime.Register("reconfigure", "(IILandroid/graphics/Bitmap$Config;)V", "")]
public void Reconfigure(int width, int height, Android.Graphics.Bitmap.Config config);
[<Android.Runtime.Register("reconfigure", "(IILandroid/graphics/Bitmap$Config;)V", "")>]
member this.Reconfigure : int * int * Android.Graphics.Bitmap.Config -> unit

参数

width
Int32

新宽度(以像素为单位);它必须大于零。

height
Int32

新高度(以像素为单位);它必须大于零。

config
Bitmap.Config

请求的新存储配置。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅

  • Width
  • Height
  • <xref:Android.Graphics.Bitmap.SetConfig(.Config)>