-
Notifications
You must be signed in to change notification settings - Fork 0
M_Ekstrand_Drawing_GraphicsExtension_RoundedRectanglePath
Fred Ekstrand edited this page Aug 4, 2020
·
1 revision
Returns a graphic path of a rounded rectangle with specified parameters.
Namespace: Ekstrand.Drawing
Assembly: GroupBox (in GroupBox.dll) Version: 1.0.1.0 (1.0.1.0)
C#
public static GraphicsPath RoundedRectanglePath(
this Graphics graphics,
RectangleF rectangle,
float radius,
BorderCorners filter
)
VB
<ExtensionAttribute>
Public Shared Function RoundedRectanglePath (
graphics As Graphics,
rectangle As RectangleF,
radius As Single,
filter As BorderCorners
) As GraphicsPath
C++
public:
[ExtensionAttribute]
static GraphicsPath^ RoundedRectanglePath(
Graphics^ graphics,
RectangleF rectangle,
float radius,
BorderCorners filter
)
F#
[<ExtensionAttribute>]
static member RoundedRectanglePath :
graphics : Graphics *
rectangle : RectangleF *
radius : float32 *
filter : BorderCorners -> GraphicsPath
- graphics
- Type: System.Drawing.Graphics
An encapsulated GDI+ drawing surface instance. - rectangle
- Type: System.Drawing.RectangleF
A Rectangle structure that represents the boundary to draw. - radius
- Type: System.Single
The radius for each corners - filter
- Type: Ekstrand.Windows.Forms.BorderCorners
The corners to have a radius
Type: GraphicsPath
Returns a GraphicsPath of a rounded rectangle
In Visual Basic and C#, you can call this method as an instance method on any object of type Graphics. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
An Ekstrand Class Library
Copyright © 2019 Fred Ekstrand Jr
Send comments on this topic to fredekstrandGithub@gmail.com
Document created by: Sandcastle Help File Builder
-
Namespaces
-
Ekstrand.Drawing Namespace
-
GraphicsExtension Class
-
GraphicsExtension Methods
-
GraphicsExtension.DrawRoundedRectangle Method
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, Rectangle, Int32)
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, RectangleF, Int32)
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, Rectangle, Int32, BorderCorners)
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, RectangleF, Int32, BorderCorners)
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, Int32, Int32, Int32, Int32, Int32)
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, Single, Single, Single, Single, Single)
- GraphicsExtension.DrawRoundedRectangle Method (Graphics, Pen, Single, Single, Single, Single, Single, BorderCorners)
-
GraphicsExtension.FillRoundedRectangle Method
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, Rectangle, Int32)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, RectangleF, Int32)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, Rectangle, Int32)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, RectangleF, Int32)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, Rectangle, Int32, BorderCorners)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, RectangleF, Int32, BorderCorners)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, Rectangle, Int32, BorderCorners)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, RectangleF, Int32, BorderCorners)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, Int32, Int32, Int32, Int32, Int32)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, Single, Single, Single, Single, Single)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, Int32, Int32, Int32, Int32, Int32)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, Single, Single, Single, Single, Single)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, Brush, Single, Single, Single, Single, Single, BorderCorners)
- GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, Single, Single, Single, Single, Single, BorderCorners)
- GraphicsExtension.RoundedRectanglePath Method
-
GraphicsExtension.DrawRoundedRectangle Method
-
GraphicsExtension Methods
-
GraphicsExtension Class
-
Ekstrand.Windows.Forms Namespace
- BorderCorners Enumeration
-
BorderElements Class
- BorderElements Constructor
-
BorderElements Properties
- BorderElements.BackColor Property
- BorderElements.BorderColor Property
- BorderElements.BorderCorners Property
- BorderElements.DashCap Property
- BorderElements.DashOffset Property
- BorderElements.DashPattern Property
- BorderElements.DashStyle Property
- BorderElements.Radius Property
- BorderElements.Width Property
- BorderElements Methods
- BorderElements Events
- BorderElementsConverter Class
- BorderTextAlignment Enumeration
- ControlElements Class
- EnhanceGroupBoxGradientMode Enumeration
- EnhanceGroupBoxState Enumeration
-
GroupBox Class
- GroupBox Constructor
-
GroupBox Properties
- GroupBox.AllowDrop Property
- GroupBox.AutoSize Property
- GroupBox.BorderElements Property
- GroupBox.CreateParams Property
- GroupBox.DefaultPadding Property
- GroupBox.DefaultSize Property
- GroupBox.DisabledTextColor Property
- GroupBox.DisplayRectangle Property
- GroupBox.Enabled Property
- GroupBox.GroupBoxStyle Property
- GroupBox.HeaderElements Property
- GroupBox.InsideBorderElements Property
- GroupBox.RightToLeft Property
- GroupBox.TabStop Property
- GroupBox.Text Property
- GroupBox Methods
-
GroupBox Events
- GroupBox.AutoSizeChanged Event
- GroupBox.Click Event
- GroupBox.DoubleClick Event
- GroupBox.KeyDown Event
- GroupBox.KeyPress Event
- GroupBox.KeyUp Event
- GroupBox.MouseClick Event
- GroupBox.MouseDoubleClick Event
- GroupBox.MouseDown Event
- GroupBox.MouseEnter Event
- GroupBox.MouseLeave Event
- GroupBox.MouseMove Event
- GroupBox.MouseUp Event
- GroupBox.TabStopChanged Event
- GroupBoxRenderer Class
- GroupBoxStyle Enumeration
-
HeaderElements Class
- HeaderElements Constructor
-
HeaderElements Properties
- HeaderElements.BackColor Property
- HeaderElements.BorderColor Property
- HeaderElements.BorderCorners Property
- HeaderElements.DashCap Property
- HeaderElements.DashOffset Property
- HeaderElements.DashPattern Property
- HeaderElements.DashStyle Property
- HeaderElements.GradientEndColor Property
- HeaderElements.GradientMode Property
- HeaderElements.GradientStartColor Property
- HeaderElements.Radius Property
- HeaderElements.TextAlignment Property
- HeaderElements.Width Property
- HeaderElements Methods
- HeaderElements Events
- HeaderElementsConverter Class
-
IBorderElements Interface
-
IBorderElements Properties
- IBorderElements.BackColor Property
- IBorderElements.BorderColor Property
- IBorderElements.BorderCorners Property
- IBorderElements.DashCap Property
- IBorderElements.DashOffset Property
- IBorderElements.DashPattern Property
- IBorderElements.DashStyle Property
- IBorderElements.Radius Property
- IBorderElements.Width Property
- IBorderElements Methods
- IBorderElements Events
-
IBorderElements Properties
- IControlElements Interface
-
IHeaderElements Interface
-
IHeaderElements Properties
- IHeaderElements.BackColor Property
- IHeaderElements.BorderColor Property
- IHeaderElements.BorderCorners Property
- IHeaderElements.DashCap Property
- IHeaderElements.DashOffset Property
- IHeaderElements.DashPattern Property
- IHeaderElements.DashStyle Property
- IHeaderElements.GradientEndColor Property
- IHeaderElements.GradientMode Property
- IHeaderElements.GradientStartColor Property
- IHeaderElements.Radius Property
- IHeaderElements.TextAlignment Property
- IHeaderElements.Width Property
- IHeaderElements Methods
- IHeaderElements Events
-
IHeaderElements Properties
- IInsideBorderElements Interface
- InsideBorderElements Class
- InsideBorderElementsConverter Class
- PropertyChangeTypes Enumeration
-
Ekstrand.Drawing Namespace