Aspose::Page::XPS::XpsDocument::CreateRadialGradientBrush method

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)
ParameterTypeDescription
centerSystem::Drawing::PointFThe center point of the radial gradient (that is, the center of the ellipse).
gradientOriginSystem::Drawing::PointFThe origin point of the radial gradient.
radiusXfloatThe radius in the x dimension of the ellipse which defines the radial gradient.
radiusYfloatThe radius in the y dimension of the ellipse which defines the radial gradient.

ReturnValue

New radial gradient brush.

See Also

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)
ParameterTypeDescription
gradientStopsSystem::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>The list of gradient stops.
centerSystem::Drawing::PointFThe center point of the radial gradient (that is, the center of the ellipse).
gradientOriginSystem::Drawing::PointFThe origin point of the radial gradient.
radiusXfloatThe radius in the x dimension of the ellipse which defines the radial gradient.
radiusYfloatThe radius in the y dimension of the ellipse which defines the radial gradient.

ReturnValue

New radial gradient brush.

See Also