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(
Size size,
Color32 color
)Public Shared Function CreateSolid (
size As Size,
color As Color32
) As IReadableBitmapDatapublic:
static IReadableBitmapData^ CreateSolid(
Size size,
Color32 color
)static member CreateSolid :
size : Size *
color : Color32 -> IReadableBitmapData The returned bitmap data has no allocated underlying buffer, and simply returns the specified color for each pixel.
| ArgumentOutOfRangeException | size has a zero or negative width or height. |