GradientStop

GradientStop 类

表示一个渐变格式。

public sealed class GradientStop : PVIObject, IGradientStop

属性

名称描述
AsIPresentationComponent { get; }允许获取基础 IPresentationComponent 接口。只读 IPresentationComponent
Color { get; }返回渐变停止点的颜色。只读 IColorFormat
Position { get; set; }返回或设置渐变停止点的位置 (0..1)。可读写 Single。

方法

名称描述
override Equals(object)比较指定的对象。
override GetHashCode()返回哈希码。

参见