XpsLinearGradientBrush class

XpsLinearGradientBrush class

Class incapsulating LinearGradientBrush property element features. This element is used to specify a linear gradient brush along a vector.

Inheritance: XpsLinearGradientBrushXpsGradientBrushXpsTransformableBrushXpsBrushXpsObject

The XpsLinearGradientBrush type exposes the following members:

Properties

PropertyDescription
opacityReturns/sets value defining the uniform transparency of the brush fill.
transformReturns/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.
gradient_stopsReturns/sets list of gradient stops that comprise the gradient.
color_interpolation_modeReturns/sets value specifying the gamma function for color interpolation. The gamma adjustment
should not be applied to the alpha component, if specified.
spread_methodReturns/sets value describing how the brush should fill the content area outside of the primary,
initial gradient area.
start_pointReturns/sets the starting point of the linear gradient.
end_pointReturns/sets the end point of the linear gradient.

Methods

MethodDescription
cloneClones this linear gradient brush.

See Also