GraphicsExtensions Class | KGy SOFT Drawing Libraries Help |
Contains extension methods for the Graphics type.
Inheritance Hierarchy
Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 4.6.0
Syntax
public static class GraphicsExtensions
<ExtensionAttribute> Public NotInheritable Class GraphicsExtensions
[ExtensionAttribute] public ref class GraphicsExtensions abstract sealed
[<AbstractClassAttribute>] [<SealedAttribute>] [<ExtensionAttribute>] type GraphicsExtensions = class end
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 |
See Also