PageAPI.CreateLinearGradientBrush
Contents
[
Hide
]CreateLinearGradientBrush(List<XpsGradientStop>, PointF, PointF)
Creates a new linear gradient brush.
public XpsLinearGradientBrush CreateLinearGradientBrush(List<XpsGradientStop> gradientStops,
PointF startPoint, PointF endPoint)
Parameter | Type | Description |
---|---|---|
gradientStops | List`1 | The list of gradient stops. |
startPoint | PointF | The starting point of the linear gradient. |
endPoint | PointF | The end point of the linear gradient. |
Return Value
New linear gradient brush.
See Also
- class XpsLinearGradientBrush
- class XpsGradientStop
- class PageAPI
- namespace Aspose.Page.XPS.Features.EventBasedModifications
- assembly Aspose.Page
CreateLinearGradientBrush(PointF, PointF)
Creates a new linear gradient brush.
public XpsLinearGradientBrush CreateLinearGradientBrush(PointF startPoint, PointF endPoint)
Parameter | Type | Description |
---|---|---|
startPoint | PointF | The starting point of the linear gradient. |
endPoint | PointF | The end point of the linear gradient. |
Return Value
New linear gradient brush.
See Also
- class XpsLinearGradientBrush
- class PageAPI
- namespace Aspose.Page.XPS.Features.EventBasedModifications
- assembly Aspose.Page