Class XpsImageBrush

XpsImageBrush class

Class incapsulating ImageBrush property element features. This element is used to fill a region with an image.

public sealed class XpsImageBrush : XpsTilingBrush

Properties

NameDescription
Image { get; }Returns image resource used to for the brush.
ImageSource { get; }Returns the URI of an image resource.
Opacity { get; set; }Returns/sets value defining the uniform transparency of the brush fill.
TileMode { get; set; }Returns/sets value specifying how tiling is performed in the filled geometry.
Transform { get; set; }Returns/sets the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.
Viewbox { get; set; }Returns/sets the region of the source content of the brush that is to be mapped to the viewport.
Viewport { get; set; }Returns/sets the position and dimensions of the first brush tile. Subsequent tiles are positioned relative to this tile, as specified by the tile mode.

Methods

NameDescription
Clone()Clones this image brush.

See Also