GraphicsExtensions Class

KGy SOFT Drawing Libraries Help
Contains extension methods for the Graphics type.
Inheritance Hierarchy

SystemObject
  KGySoft.DrawingGraphicsExtensions

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 7.0.0-preview.2
Syntax

public static class GraphicsExtensions

The GraphicsExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberDrawRoundedRectangle(Graphics, Pen, Rectangle, Int32)
Draws a rounded rectangle specified by a bounding Rectangle and a common corner radius value for each corners.
Public methodStatic memberDrawRoundedRectangle(Graphics, Pen, Rectangle, Int32, Int32, Int32, Int32)
Draws a rounded rectangle specified by a bounding Rectangle and four corner radius values.
Public methodStatic memberFillRoundedRectangle(Graphics, Brush, Rectangle, Int32)
Fills a rounded rectangle specified by a bounding Rectangle and a common corner radius value for each corners.
Public methodStatic memberFillRoundedRectangle(Graphics, Brush, Rectangle, Int32, Int32, Int32, Int32)
Fills a rounded rectangle specified by a bounding Rectangle and four custom corner radius values.
Public methodStatic memberToBitmap
Copies the Graphics object specified in the graphics parameter to a Bitmap instance.
Top
Remarks

Note Note
When targeting .NET 7.0 or later versions this class is supported on Windows only.
See Also

Reference