GetMaximumFontSize(graphics, fontFamily, text, style, allowWordWrapping, maxWidth, maxHeight) MakeSemitransparentImage(width, height, initGraphics, drawOpaqueLayer, drawTransparencyLayer, transparencyFromChannel, invertTransparency)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: Bitmap DrawBitmap(int, int, Action<Graphics>, bool)Declarationpublic static Bitmap DrawBitmap(
int width,
int height,
Action<Graphics> draw,
bool keepLowQuality = false
)Summary
Creates a new bitmap by executing the specified drawing command(s) on a blank new 32-bit bitmap. Parameters| int | width |
Width of the bitmap. | | int | height |
Height of the bitmap. | | Action<Graphics> | draw |
Command(s) to execute on the new bitmap. | | bool | keepLowQuality |
If false (the default), GraphicsUtil.SetHighQuality(this Graphics) is called on the graphics object automatically. |
|