GradientBrush.SpreadMethod Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted.
public:
property GradientSpreadMethod SpreadMethod { GradientSpreadMethod get(); void set(GradientSpreadMethod value); };
GradientSpreadMethod SpreadMethod();
void SpreadMethod(GradientSpreadMethod value);
public GradientSpreadMethod SpreadMethod { get; set; }
var gradientSpreadMethod = gradientBrush.spreadMethod;
gradientBrush.spreadMethod = gradientSpreadMethod;
Public Property SpreadMethod As GradientSpreadMethod
<gradientBrush SpreadMethod="Pad"/>
-or-
<gradientBrush SpreadMethod="Reflect"/>
-or-
<gradientBrush SpreadMethod="Repeat"/>
Property Value
The type of spread method used to paint the gradient. The default is Pad.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla