GraphicsPathExtensions Class

Contains extension methods for the GraphicsPath class.

Definition

Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
C#
public static class GraphicsPathExtensions
Inheritance
Object    GraphicsPathExtensions

Methods

AddRoundedRectangle(GraphicsPath, RectangleF, Single) Adds a rounded rectangle to this GraphicsPath, applying the same corner radius to all corners.
AddRoundedRectangle(GraphicsPath, RectangleF, Single, Single, Single, Single) Adds a rounded rectangle to this GraphicsPath, applying a custom corner radius to each corner.
ToGraphicsPath Converts a Path instance to a GraphicsPath.
ToPath Converts a GraphicsPath instance to a Path.

See Also