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





Creates an instance of the System.Drawing.TextureBrush class that can be used to paint in a GDI+ Graphics object.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Overrides 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