Aspose::Page::XPS::XpsDocument::CreateLinearGradientBrush method
Contents
[
Hide
]XpsDocument::CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) method
Creates a new linear gradient brush.
System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::XpsDocument::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 XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF) method
Creates a new linear gradient brush.
System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::XpsDocument::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
Parameter | Type | Description |
---|---|---|
gradientStops | System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<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 XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++