Interface ITextureBrush
Interface ITextureBrush
Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML.dll (25.2.0)
Defines brush interface that uses an image to fill the interior of a shape.
[ComVisible(true)]
public interface ITextureBrush : ITransformableBrush, IBrush, IDisposable
Implements
ITransformableBrush, IBrush, IDisposable
Properties
ColorMap
The number of elements must be even. Every even element is old color. Every odd element is new color.
Color[] ColorMap { get; }
Property Value
Color[]
Image
Gets or sets the image used by the brush.
byte[] Image { get; }
Property Value
byte[]
ImageArea
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.
RectangleF ImageArea { get; }
Property Value
Opacity
Get opacity value in a color transform matrix.
float Opacity { get; set; }