Add

Add(float, Color)

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

public IGradientStop Add(float position, Color color)
ParameterTypeDescription
positionSinglePosition of the new gradient stop.
colorColorColor of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also


Add(float, PresetColor)

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

public IGradientStop Add(float position, PresetColor presetColor)
ParameterTypeDescription
positionSinglePosition of the new gradient stop.
presetColorPresetColorColor of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also


Add(float, SchemeColor)

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

public IGradientStop Add(float position, SchemeColor schemeColor)
ParameterTypeDescription
positionSinglePosition of the new gradient stop.
schemeColorSchemeColorColor of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also