CompositionColorGradientStop.Offset 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 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.