Aspose::Page::XPS::XpsDocument::CreateRadialGradientBrush method
Contents
[
Hide
]XpsDocument::CreateRadialGradientBrush(System::Drawing::PointF, System::Drawing::PointF, float, float) method
Creates a new radial gradient brush.
System::SharedPtr<XpsModel::XpsRadialGradientBrush> Aspose::Page::XPS::XpsDocument::CreateRadialGradientBrush(System::Drawing::PointF center, System::Drawing::PointF gradientOrigin, float radiusX, float radiusY)
Parameter | Type | Description |
---|---|---|
center | System::Drawing::PointF | The center point of the radial gradient (that is, the center of the ellipse). |
gradientOrigin | System::Drawing::PointF | The origin point of the radial gradient. |
radiusX | float | The radius in the x dimension of the ellipse which defines the radial gradient. |
radiusY | float | The radius in the y dimension of the ellipse which defines the radial gradient. |
ReturnValue
New radial gradient brush.
See Also
- Typedef SharedPtr
- Class XpsRadialGradientBrush
- Class PointF
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateRadialGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF, float, float) method
Creates a new radial gradient brush.
System::SharedPtr<XpsModel::XpsRadialGradientBrush> Aspose::Page::XPS::XpsDocument::CreateRadialGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>> gradientStops, System::Drawing::PointF center, System::Drawing::PointF gradientOrigin, float radiusX, float radiusY)
Parameter | Type | Description |
---|---|---|
gradientStops | System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>> | The list of gradient stops. |
center | System::Drawing::PointF | The center point of the radial gradient (that is, the center of the ellipse). |
gradientOrigin | System::Drawing::PointF | The origin point of the radial gradient. |
radiusX | float | The radius in the x dimension of the ellipse which defines the radial gradient. |
radiusY | float | The radius in the y dimension of the ellipse which defines the radial gradient. |
ReturnValue
New radial gradient brush.
See Also
- Typedef SharedPtr
- Class XpsRadialGradientBrush
- Class List
- Class XpsGradientStop
- Class PointF
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++