Show / Hide Table of Contents

Enum GradientSpreadMethod

Specifies how to draw the gradient outside a gradient brush's gradient vector or space.

Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public enum GradientSpreadMethod

Fields

Name Description
Pad

The color values at the ends of the gradient vector fill the remaining space.

Reflect

The gradient is repeated in the reverse direction until the space is filled.

Repeat

The gradient is repeated in the original direction until the space is filled.

  • Improve this Doc
  • View Source