-
Notifications
You must be signed in to change notification settings - Fork 0
M_Ekstrand_Drawing_GraphicsExtension_DrawRoundedRectangle_2
Fred Ekstrand edited this page Aug 4, 2020
·
1 revision
Draws 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 void DrawRoundedRectangle(
this Graphics graphics,
Pen pen,
RectangleF rectangle,
int radius
)VB
<ExtensionAttribute>
Public Shared Sub DrawRoundedRectangle (
graphics As Graphics,
pen As Pen,
rectangle As RectangleF,
radius As Integer
)C++
public:
[ExtensionAttribute]
static void DrawRoundedRectangle(
Graphics^ graphics,
Pen^ pen,
RectangleF rectangle,
int radius
)F#
[<ExtensionAttribute>]
static member DrawRoundedRectangle :
graphics : Graphics *
pen : Pen *
rectangle : RectangleF *
radius : int -> unit
- graphics
- Type: System.Drawing.Graphics
An encapsulated GDI+ drawing surface instance. - pen
- Type: System.Drawing.Pen
Pen that determines the color, width, and style of the rectangle. - rectangle
- Type: System.Drawing.RectangleF
A Rectangle structure that represents the boundary to draw. - radius
- Type: System.Int32
The radius for each corners
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).
GraphicsExtension Class
DrawRoundedRectangle Overload
Ekstrand.Drawing Namespace
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