Note
When targeting .NET 7.0 or later versions this class is supported on Windows only.
public static class GraphicsExtensions
<ExtensionAttribute>
Public NotInheritable Class GraphicsExtensions
[ExtensionAttribute]
public ref class GraphicsExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type GraphicsExtensions = class end
DrawRoundedRectangle(Graphics, Pen, Rectangle, Int32) | Draws a rounded rectangle specified by a bounding Rectangle and a common corner radius value for each corners. |
DrawRoundedRectangle(Graphics, Pen, Rectangle, Int32, Int32, Int32, Int32) | Draws a rounded rectangle specified by a bounding Rectangle and four corner radius values. |
FillRoundedRectangle(Graphics, Brush, Rectangle, Int32) | Fills a rounded rectangle specified by a bounding Rectangle and a common corner radius value for each corners. |
FillRoundedRectangle(Graphics, Brush, Rectangle, Int32, Int32, Int32, Int32) | Fills a rounded rectangle specified by a bounding Rectangle and four custom corner radius values. |
ToBitmap | Copies the Graphics object specified in the graphics parameter to a Bitmap instance. |