| BrushData Constructor (Brush, HotImage, String) |
This constructor allows any System.Drawing Brush to be passed to it. The parent Hotimage is required so that the TextureBrush can get the resource embedded in the assembly that is the parent of the Hotimage.
Namespace:
Deltabit.WinForms
Assembly:
Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax public BrushData(
Brush Brush,
HotImage Parent,
string ResourceName
)
Public Sub New (
Brush As Brush,
Parent As HotImage,
ResourceName As String
)
Dim Brush As Brush
Dim Parent As HotImage
Dim ResourceName As String
Dim instance As New BrushData(Brush, Parent,
ResourceName)
public:
BrushData(
Brush^ Brush,
HotImage^ Parent,
String^ ResourceName
)
Parameters
- Brush
- Type: System.DrawingBrush
One of the Brushes of type SolidBrush, LinearGradientBrush(only supports a rectangular horizontal gradient),TextureBrush or HatchBrush. - Parent
- Type: Deltabit.WinFormsHotImage
The HotImage that is using this class. - ResourceName
- Type: SystemString
The name of the resource used in the TextureBrush.
See Also