TextureBrush

TextureBrush class

Represents texture brush.

public class TextureBrush : Brush

Constructors

Name Description
TextureBrush() Initializes a new instance of the TextureBrush class with default values.
TextureBrush(Stream) Initializes a new instance of the TextureBrush class with image stream option.
TextureBrush(string) Initializes a new instance of the TextureBrush class with image file.

Properties

Name Description
ImageFilePath { get; set; } Gets or sets the texture image file path. This property is used only if ImageStream is not specified.
ImageStream { get; set; } Gets or sets the texture image stream. If this property is specified it is always used instead ImageFilePath.

See Also