Search
Brush.CreateGdiBrush Method (RectangleF, Single, Single)
See Also
 





Returns an instance of a System.Drawing.Brush-derived class that can be used to paint in a GDI+ Graphics object. The specified offset is used for texture or pattern brushes whose contents must scroll with the rest of the drawn image.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public virtual Brush CreateGdiBrush (
    RectangleF rc,
    float dx,
    float dy
)

Visual Basic  Copy Code

Public Overridable Function CreateGdiBrush( _
    rc As RectangleF, _
    dx As Single, _
    dy As Single _
) As Brush

 Parameters

rc

The rectangle in which painting will be performed.

dx

Specifies a horizontal offset to apply to this brush.

dy

Specifies a vertical offset to apply to this brush.

 Return Value

An instance of the System.Drawing.Brush class corresponding to this brush.

 See Also