Add

GradientStopCollection.Add method (1 of 3)

Creates the new gradient stop and adds it to the end of collection.

public IGradientStop Add(float position, Color color)
Parameter Type Description
position Single Position of the new gradient stop.
color Color Color of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also


GradientStopCollection.Add method (2 of 3)

Creates the new gradient stop and adds it to the end of collection.

public IGradientStop Add(float position, PresetColor presetColor)
Parameter Type Description
position Single Position of the new gradient stop.
presetColor PresetColor Color of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also


GradientStopCollection.Add method (3 of 3)

Creates the new gradient stop and adds it to the end of collection.

public IGradientStop Add(float position, SchemeColor schemeColor)
Parameter Type Description
position Single Position of the new gradient stop.
schemeColor SchemeColor Color of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also