Table of Contents

Class TextureBrush

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths.

public class TextureBrush : Brush, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged, IEquatable<Brush>
Inheritance
TextureBrush
Implements

Constructors

TextureBrush(Image)

Initializes a new TextureBrush object of the specified color.

Properties

BrushType

Gets type of the brush.

Image

Gets the texture of this brush object.

Methods

CreateHandler()

Creates handler.

CreateSkiaPaint()

Creates SKPaint for this brush.

Equals(object?)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

UpdateHandler()

Updates handler.