Bewerken

Share via


GradientStop.Offset Property

Definition

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

public:
 property double Offset { double get(); void set(double value); };
public double Offset { get; set; }
member this.Offset : double with get, set
Public Property Offset As Double

Property Value

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

Remarks

A value of 0.0 specifies that the stop is positioned at the beginning of the gradient vector, while a value of 1.0 specifies that the stop is positioned at the end of the gradient vector.

Dependency Property Information

Identifier field OffsetProperty
Metadata properties set to true None

Applies to

See also