-
Notifications
You must be signed in to change notification settings - Fork 0
M_Ekstrand_Drawing_GraphicsExtension_FillRoundedRectangle_11
Fred Ekstrand edited this page Aug 4, 2020
·
1 revision
GraphicsExtension.FillRoundedRectangle Method (Graphics, LinearGradientBrush, Int32, Int32, Int32, Int32, Int32)
Fills 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 FillRoundedRectangle(
this Graphics graphics,
LinearGradientBrush brush,
int x,
int y,
int width,
int height,
int radius
)
VB
<ExtensionAttribute>
Public Shared Sub FillRoundedRectangle (
graphics As Graphics,
brush As LinearGradientBrush,
x As Integer,
y As Integer,
width As Integer,
height As Integer,
radius As Integer
)
C++
public:
[ExtensionAttribute]
static void FillRoundedRectangle(
Graphics^ graphics,
LinearGradientBrush^ brush,
int x,
int y,
int width,
int height,
int radius
)
F#
[<ExtensionAttribute>]
static member FillRoundedRectangle :
graphics : Graphics *
brush : LinearGradientBrush *
x : int *
y : int *
width : int *
height : int *
radius : int -> unit
- graphics
- Type: System.Drawing.Graphics
An encapsulated GDI+ drawing surface instance. - brush
- Type: System.Drawing.Drawing2D.LinearGradientBrush
Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths. - x
- Type: System.Int32
The x-coordinate of the upper-left corner of the rectangle to draw. - y
- Type: System.Int32
The y-coordinate of the upper-left corner of the rectangle to draw. - width
- Type: System.Int32
Width of the rectangle to draw. - height
- Type: System.Int32
Height of the rectangle 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
FillRoundedRectangle 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