Contains extension methods for the Graphics type.
Inheritance Hierarchy
KGySoft.DrawingGraphicsExtensions
Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 7.0.0-preview.2
Syntax
The GraphicsExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | 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 |
Remarks
![]() |
---|
When targeting .NET 7.0 or later versions this class is supported on Windows only. |
See Also