Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush method
Contents
[
Hide
]PageAPI::CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) method
Creates a new linear gradient brush.
System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
Parameter | Type | Description |
---|---|---|
startPoint | System::Drawing::PointF | The starting point of the linear gradient. |
endPoint | System::Drawing::PointF | The end point of the linear gradient. |
ReturnValue
New linear gradient brush.
See Also
- Typedef SharedPtr
- Class XpsLinearGradientBrush
- Class PointF
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF) method
Creates a new linear gradient brush.
System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsGradientStop>>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
Parameter | Type | Description |
---|---|---|
gradientStops | System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsGradientStop>>> | The list of gradient stops. |
startPoint | System::Drawing::PointF | The starting point of the linear gradient. |
endPoint | System::Drawing::PointF | The end point of the linear gradient. |
ReturnValue
New linear gradient brush.
See Also
- Typedef SharedPtr
- Class XpsLinearGradientBrush
- Class List
- Class XpsGradientStop
- Class PointF
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++