Note
Operations on the result that return a new bitmap data (e.g. Clone,
Resize, ToGrayscale, etc.)
allocate a new buffer though.
public static IReadableBitmapData CreateSolid(
int width,
int height,
Color32 color
)Public Shared Function CreateSolid (
width As Integer,
height As Integer,
color As Color32
) As IReadableBitmapDatapublic:
static IReadableBitmapData^ CreateSolid(
int width,
int height,
Color32 color
)static member CreateSolid :
width : int *
height : int *
color : Color32 -> IReadableBitmapData The returned bitmap data has no allocated underlying buffer, and simply returns the specified color for each pixel.
| ArgumentOutOfRangeException | width or height is zero or negative. |