Defines a brush with an image texture for use with Graphics fill operations
Constructors
TextureBrush
#Initializes a new instance of the TextureBrush class.
Properties
ControlObject
Gets or sets the control object for this widget
Value: The control object for the widget
Implements: ControlObject
Handler
#Gets the platform handler object for the widget
Value: The handler for the widget
Overrides: Brush.Handler
Instantiator
#obsolete: Use new TextureBrush() instead
Gets an instantiator for the texture brush to create instances
Remarks: This can be used to instantiate texture brushes when creating many brushes to minimize overhead
Methods
Remarks: Call Brush.Dispose() when you are finished using the Brush. The Brush.Dispose() method leaves the Brush in an unusable state. After calling Brush.Dispose(), you must release all references to the Brush so the garbage collector can reclaim the memory that the Brush was occupying.
Parameters:
| disposing (bool) | If set to true dispose was called explicitly, otherwise specify false if calling from a finalizer |