CompositionColorGradientStop CompositionColorGradientStop CompositionColorGradientStop CompositionColorGradientStop 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.]
Describes the location and color of a transition point in a gradient.

public : sealed class CompositionColorGradientStop : CompositionObject, ICompositionColorGradientStoppublic sealed class CompositionColorGradientStop : CompositionObject, ICompositionColorGradientStopPublic NotInheritable Class CompositionColorGradientStop Inherits CompositionObject Implements ICompositionColorGradientStop// This API is not available in Javascript.
Inheritance
CompositionColorGradientStopCompositionColorGradientStopCompositionColorGradientStopCompositionColorGradientStop
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 methods

Inherited properties

Properties

Color Color Color Color

Prerelease. Gets or sets the color of the gradient stop.

public : Color Color { get; set; }public Color Color { get; set; }Public ReadWrite Property Color As Color// This API is not available in Javascript.
Value
Color Color Color Color

The color of the gradient stop. The default is Transparent.

Offset Offset Offset Offset

Prerelease. Gets or sets the location of the gradient stop within the gradient vector.

public : float Offset { get; set; }public float Offset { get; set; }Public ReadWrite Property Offset As float// This API is not available in Javascript.
Value
float float float float

The relative location of this gradient stop along the gradient vector. The default is 0.