ITextureBrush Interface

ITextureBrush interface

Defines brush interface that uses an image to fill the interior of a shape.

public interface ITextureBrush : ITransformableBrush

Properties

NameDescription
ColorMap { get; }The number of elements must be even. Every even element is old color. Every odd element is new color.
Image { get; }Gets or sets the image used by the brush.
ImageArea { get; }Specifies the portion of the image used by the brush. If it equals RectangleF.Empty then the whole image will be used. Coordinates are in pixels.
Opacity { get; set; }Get opacity value in a color transform matrix.

See Also