## PageAPI::CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) method


Δημιουργεί ένα νέο πινέλο γραμμικής διαβάθμισης.

```cpp
System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
```


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| startPoint | System::Drawing::PointF | Το αρχικό σημείο της γραμμικής διαβάθμισης. |
| endPoint | System::Drawing::PointF | Το τελικό σημείο της γραμμικής διαβάθμισης. |

### ReturnValue

Νέο πινέλο γραμμικής διαβάθμισης.

## Δείτε επίσης

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsLinearGradientBrush](../../../aspose.page.xps.xpsmodel/xpslineargradientbrush/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
## PageAPI::CreateLinearGradientBrush(System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsModel::XpsGradientStop\>\>\>, System::Drawing::PointF, System::Drawing::PointF) method


Δημιουργεί ένα νέο πινέλο γραμμικής διαβάθμισης.

```cpp
System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
```


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| gradientStops | System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsModel::XpsGradientStop\>\>\> | Η λίστα των σημείων διακοπής διαβάθμισης. |
| startPoint | System::Drawing::PointF | Το αρχικό σημείο της γραμμικής διαβάθμισης. |
| endPoint | System::Drawing::PointF | Το τελικό σημείο της γραμμικής διαβάθμισης. |

### ReturnValue

Νέο πινέλο γραμμικής διαβάθμισης.

## Δείτε επίσης

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsLinearGradientBrush](../../../aspose.page.xps.xpsmodel/xpslineargradientbrush/)
* Class [List](../../../system.collections.generic/list/)
* Class [XpsGradientStop](../../../aspose.page.xps.xpsmodel/xpsgradientstop/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
