CompositionLinearGradientBrush
CompositionLinearGradientBrush
CompositionLinearGradientBrush
CompositionLinearGradientBrush
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Represents a brush that paints an area with a linear gradient.
public : sealed class CompositionLinearGradientBrush : CompositionGradientBrush, ICompositionLinearGradientBrushpublic sealed class CompositionLinearGradientBrush : CompositionGradientBrush, ICompositionLinearGradientBrushPublic NotInheritable Class CompositionLinearGradientBrush Inherits CompositionGradientBrush Implements ICompositionLinearGradientBrush// This API is not available in Javascript.
- Inheritance
-
CompositionLinearGradientBrushCompositionLinearGradientBrushCompositionLinearGradientBrushCompositionLinearGradientBrush
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Inherited Members
Inherited properties
Inherited methods
StartAnimation(String,CompositionAnimation)StartAnimation(String,CompositionAnimation)StartAnimation(String,CompositionAnimation)StartAnimation(String,CompositionAnimation)
Properties
EndPoint EndPoint EndPoint EndPoint
Prerelease. Gets or sets the ending two-dimensional coordinates of the linear gradient.
public : Vector2 EndPoint { get; set; }public Vector2 EndPoint { get; set; }Public ReadWrite Property EndPoint As Vector2// This API is not available in Javascript.
- Value
- Vector2 Vector2 Vector2 Vector2
The ending two-dimensional coordinates of the linear gradient.
StartPoint StartPoint StartPoint StartPoint
Prerelease. Gets or sets the starting two-dimensional coordinates of the linear gradient.
public : Vector2 StartPoint { get; set; }public Vector2 StartPoint { get; set; }Public ReadWrite Property StartPoint As Vector2// This API is not available in Javascript.
- Value
- Vector2 Vector2 Vector2 Vector2
The starting two-dimensional coordinates for the linear gradient.