[]
        
立即试用
(Showing Draft Content)

IColorStops

Interface IColorStops

All Superinterfaces:
Iterable<IColorStop>

public interface IColorStops extends Iterable<IColorStop>
代表指定系列的所有IColorStop对象的集合。
  • Method Details

    • get

      IColorStop get(int index)
      返回集合中的IColorStop对象。
      Parameters:
      index - 指定集合中元素的位置。
    • getCount

      int getCount()
      获取表示对象的数量。
    • add

      IColorStop add(double position)
      添加一个IColorStop对象到指定的集合中。
      Parameters:
      position - 表示应用颜色停止的位置。
    • clear

      void clear()
      清除所代表的对象。