PageAPI.CreateRadialGradientBrush
Contents
[
Hide
]CreateRadialGradientBrush(List<XpsGradientStop>, PointF, PointF, float, float)
Creates a new radial gradient brush.
public XpsRadialGradientBrush CreateRadialGradientBrush(List<XpsGradientStop> gradientStops,
PointF center, PointF gradientOrigin, float radiusX, float radiusY)
Parameter | Type | Description |
---|---|---|
gradientStops | List`1 | The list of gradient stops. |
center | PointF | The center point of the radial gradient (that is, the center of the ellipse). |
gradientOrigin | PointF | The origin point of the radial gradient. |
radiusX | Single | The radius in the x dimension of the ellipse which defines the radial gradient. |
radiusY | Single | The radius in the y dimension of the ellipse which defines the radial gradient. |
Return Value
New radial gradient brush.
See Also
- class XpsRadialGradientBrush
- class XpsGradientStop
- class PageAPI
- namespace Aspose.Page.XPS.Features.EventBasedModifications
- assembly Aspose.Page
CreateRadialGradientBrush(PointF, PointF, float, float)
Creates a new radial gradient brush.
public XpsRadialGradientBrush CreateRadialGradientBrush(PointF center, PointF gradientOrigin,
float radiusX, float radiusY)
Parameter | Type | Description |
---|---|---|
center | PointF | The center point of the radial gradient (that is, the center of the ellipse). |
gradientOrigin | PointF | The origin point of the radial gradient. |
radiusX | Single | The radius in the x dimension of the ellipse which defines the radial gradient. |
radiusY | Single | The radius in the y dimension of the ellipse which defines the radial gradient. |
Return Value
New radial gradient brush.
See Also
- class XpsRadialGradientBrush
- class PageAPI
- namespace Aspose.Page.XPS.Features.EventBasedModifications
- assembly Aspose.Page