IGradientStopCollection

IGradientStopCollection

概述

IGradientStopCollection 是 Aspose.Slides FOSS for .NET 的界面。.

代表一系列的格拉迪特停车场。.

此界面提供8种方法,以便在 .NET 程序中使用 IGradientStopCollection 对象。. 可用的方法包括: Add, Clear, Insert, RemoveAt. 所有公共成员都可以在安装 Aspose.Slides FOSS for .NET 包后访问任何 .net 应用程序。. 属性: AsICollection, AsIEnumerable, Count.

属性

名称类型Access描述
AsICollectionIList<IGradientStop>阅读获取所有渐变停止点作为列表。.
AsIEnumerableIEnumerable<IGradientStop>阅读获取渐变停止点的可枚举视图。.
Countint阅读获取集合中渐变停止点的数量。.

方法

Signature描述
Add(position: float, color: Color)添加一个格拉迪特停与指定位置和RGB颜色。.
Add(position: float, presetColor: PresetColor)添加一个格拉迪安停与指定的位置,并预定颜色。.
Add(position: float, schemeColor: SchemeColor)添加一个格拉迪安停与指定位置和图表颜色。.
Insert(index: int, position: float, color: Color)将一个RGB颜色在指定的索引中插入格拉迪特停。.
Insert(index: int, position: float, presetColor: PresetColor)将一个格拉迪安停在指定的指数上,以预定颜色。.
Insert(index: int, position: float, schemeColor: SchemeColor)将格拉迪特停在指定的指数上,并以图形颜色。.
RemoveAt(index: int)取消在指定的索引中停止的格拉迪安。.
Clear()将所有格拉迪特停车从收藏中移除。.

看也

 中文