Back to Devexpress

BrushObject.GetBrush(RectangleF2D) Method

corelibraries-devexpress-dot-xtragauges-dot-core-dot-drawing-dot-brushobject-dot-getbrush-x28-devexpress-dot-xtragauges-dot-core-dot-base-dot-rectanglef2d-x29.md

latest1.4 KB
Original Source

BrushObject.GetBrush(RectangleF2D) Method

Gets a System.Drawing.Brush object that is set up in the same manner as the current object.

Namespace : DevExpress.XtraGauges.Core.Drawing

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
public virtual DXBrush GetBrush(
    RectangleF2D rect
)
vb
Public Overridable Function GetBrush(
    rect As RectangleF2D
) As DXBrush

Parameters

NameTypeDescription
rectDevExpress.XtraGauges.Core.Base.RectangleF2D

A rectangle that defines the region for the brush.

|

Returns

Type
DXBrush

See Also

BrushObject Class

BrushObject Members

DevExpress.XtraGauges.Core.Drawing Namespace