Class XpsGradientBrush

XpsGradientBrush class

Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements.

public abstract class XpsGradientBrush : XpsTransformableBrush

Properties

NameDescription
ColorInterpolationMode { get; set; }Returns/sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
GradientStops { get; set; }Returns/sets list of gradient stops that comprise the gradient.
Opacity { get; set; }Returns/sets value defining the uniform transparency of the brush fill.
SpreadMethod { get; set; }Returns/sets value describing how the brush should fill the content area outside of the primary, initial gradient area.
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.

See Also