Insert

Insert(int, float, Color)

创建新的渐变停靠点并将其按照指定的索引插入到集合中。

public void Insert(int index, float position, Color color)
参数类型描述
indexInt32新的渐变停靠点将插入的集合中的索引。
positionSingle新的渐变停靠点的位置。
colorColor新的渐变停靠点的颜色。

另见


Insert(int, float, PresetColor)

创建新的渐变停靠点并将其按照指定的索引插入到集合中。

public void Insert(int index, float position, PresetColor presetColor)
参数类型描述
indexInt32新的渐变停靠点将插入的集合中的索引。
positionSingle新的渐变停靠点的位置。
presetColorPresetColor新的渐变停靠点的颜色。

另见


Insert(int, float, SchemeColor)

创建新的渐变停靠点并将其按照指定的索引插入到集合中。

public void Insert(int index, float position, SchemeColor schemeColor)
参数类型描述
indexInt32新的渐变停靠点将插入的集合中的索引。
positionSingle新的渐变停靠点的位置。
schemeColorSchemeColor新的渐变停靠点的颜色。

另见