XpsVisualBrush

XpsVisualBrush class

Class incapsulating VisualBrush property element features. This element is used to fill a region with a drawing.

public sealed class XpsVisualBrush : XpsTilingBrush

Properties

Name Description
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.
Visual { get; } Returns/sets a Path, Glyphs, or Canvas element used to draw the brush’s source content.

Methods

Name Description
Clone() Clones this visual brush.
SetVisual(XpsContentElement) Sets visual as Visual element of visual brush.

See Also