Share via


CompositionColorGradientStop.Offset Property

Definition

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

public:
 property float Offset { float get(); void set(float value); };
float Offset();

void Offset(float value);
public float Offset { get; set; }
var single = compositionColorGradientStop.offset;
compositionColorGradientStop.offset = single;
Public Property Offset As Single

Property Value

Single

float

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

Applies to