Bitmap.EraseColor 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.
Overloads
EraseColor(Int32) |
Fills the bitmap's pixels with the specified |
EraseColor(Int64) |
Fills the bitmap's pixels with the specified |
EraseColor(Int32)
Fills the bitmap's pixels with the specified Color
.
[Android.Runtime.Register("eraseColor", "(I)V", "")]
public void EraseColor (int c);
[<Android.Runtime.Register("eraseColor", "(I)V", "")>]
member this.EraseColor : int -> unit
Parameters
- c
- Int32
- Attributes
Exceptions
if the bitmap is not mutable.
Remarks
Fills the bitmap's pixels with the specified Color
.
Java documentation for android.graphics.Bitmap.eraseColor(int)
.
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
EraseColor(Int64)
Fills the bitmap's pixels with the specified ColorLong
.
[Android.Runtime.Register("eraseColor", "(J)V", "", ApiSince=29)]
public void EraseColor (long color);
[<Android.Runtime.Register("eraseColor", "(J)V", "", ApiSince=29)>]
member this.EraseColor : int64 -> unit
Parameters
- color
- Int64
The color to fill as packed by the Color
class.
- Attributes
Remarks
Fills the bitmap's pixels with the specified ColorLong
.
Java documentation for android.graphics.Bitmap.eraseColor(long)
.
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.