
**Наследование:**
java.lang.Object

**Все реализованные интерфейсы:**
java.lang.Iterable
```
public class GradientStopCollection implements Iterable
```

 Содержит коллекцию[GradientStop](../../com.aspose.words/gradientstop) объекты.

 Чтобы узнать больше, посетите**Working with Graphic Elements** документальная статья.

Вы не создаете экземпляры этого класса напрямую. Использовать[Fill.getGradientStops()](../../com.aspose.words/fill\#getGradientStops--)свойство для доступа к точкам градиента объектов заливки.
## Методы

| Метод | Описание |
| --- | --- |
| [add(GradientStop gradientStop)](#add-com.aspose.words.GradientStop-) |  Добавляет указанный[GradientStop](../../com.aspose.words/gradientstop) к градиенту. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | Получает[GradientStop](../../com.aspose.words/gradientstop) объект в коллекции. |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | Получает целочисленное значение, указывающее количество элементов в коллекции. |
| [hashCode()](#hashCode--) |  |
| [insert(int index, GradientStop gradientStop)](#insert-int-com.aspose.words.GradientStop-) |  Вставляет[GradientStop](../../com.aspose.words/gradientstop) в коллекцию по указанному индексу. |
| [iterator()](#iterator--) | Возвращает перечислитель, который выполняет итерацию по коллекции. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(GradientStop gradientStop)](#remove-com.aspose.words.GradientStop-) |  Удаляет указанный[GradientStop](../../com.aspose.words/gradientstop) из коллекции. |
| [removeAt(int index)](#removeAt-int-) |  Удаляет[GradientStop](../../com.aspose.words/gradientstop) из коллекции по указанному индексу. |
| [set(int index, GradientStop value)](#set-int-com.aspose.words.GradientStop-) |  Устанавливает[GradientStop](../../com.aspose.words/gradientstop) объект в коллекции. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### add(GradientStop gradientStop) {#add-com.aspose.words.GradientStop-}
```
public GradientStop add(GradientStop gradientStop)
```


 Добавляет указанный[GradientStop](../../com.aspose.words/gradientstop) к градиенту.

**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| gradientStop | [GradientStop](../../com.aspose.words/gradientstop) |  |

**Возвращает:**
[GradientStop](../../com.aspose.words/gradientstop)
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Возвращает:**
логический
### get(int index) {#get-int-}
```
public GradientStop get(int index)
```


Получает[GradientStop](../../com.aspose.words/gradientstop) объект в коллекции.

**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| index | int |  |

**Возвращает:**
[GradientStop](../../com.aspose.words/gradientstop) - А[GradientStop](../../com.aspose.words/gradientstop) объект в коллекции.
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Возвращает:**
java.lang.Класс<?>
### getCount() {#getCount--}
```
public int getCount()
```


Получает целочисленное значение, указывающее количество элементов в коллекции.

**Возвращает:**
int — целочисленное значение, указывающее количество элементов в коллекции.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Возвращает:**
инт
### insert(int index, GradientStop gradientStop) {#insert-int-com.aspose.words.GradientStop-}
```
public GradientStop insert(int index, GradientStop gradientStop)
```


 Вставляет[GradientStop](../../com.aspose.words/gradientstop) в коллекцию по указанному индексу.

**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| index | int |  |
| gradientStop | [GradientStop](../../com.aspose.words/gradientstop) |  |

**Возвращает:**
[GradientStop](../../com.aspose.words/gradientstop)
### iterator() {#iterator--}
```
public Iterator iterator()
```


Возвращает перечислитель, который выполняет итерацию по коллекции.

**Возвращает:**
java.util.Iterator
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### remove(GradientStop gradientStop) {#remove-com.aspose.words.GradientStop-}
```
public boolean remove(GradientStop gradientStop)
```


 Удаляет указанный[GradientStop](../../com.aspose.words/gradientstop) из коллекции.

**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| gradientStop | [GradientStop](../../com.aspose.words/gradientstop) |  |

**Возвращает:**
boolean — Истина, если остановка градиента была успешно удалена, в противном случае — Ложь.
### removeAt(int index) {#removeAt-int-}
```
public GradientStop removeAt(int index)
```


 Удаляет[GradientStop](../../com.aspose.words/gradientstop) из коллекции по указанному индексу.

**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| index | int |  |

**Возвращает:**
[GradientStop](../../com.aspose.words/gradientstop) - Удаленный[GradientStop](../../com.aspose.words/gradientstop).
### set(int index, GradientStop value) {#set-int-com.aspose.words.GradientStop-}
```
public void set(int index, GradientStop value)
```


 Устанавливает[GradientStop](../../com.aspose.words/gradientstop) объект в коллекции.

**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| index | int |  |
| value | [GradientStop](../../com.aspose.words/gradientstop) |  А[GradientStop](../../com.aspose.words/gradientstop) объект в коллекции. |

### toString() {#toString--}
```
public String toString()
```




**Возвращает:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Параметры:**

| Параметр | Тип | Описание |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
