LinearMulticolorGradientBrush.LinearMulticolorGradientBrush
LinearMulticolorGradientBrush()
Initializes a new instance of the LinearMulticolorGradientBrush class with default parameters. The starting color is black, the ending color is white, the angle is 45 degrees and the rectangle is located in (0,0) with size (1,1).
public LinearMulticolorGradientBrush()
See Also
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD
LinearMulticolorGradientBrush(Point, Point)
Initializes a new instance of the LinearMulticolorGradientBrush class with the specified points.
public LinearMulticolorGradientBrush(Point point1, Point point2)
| Parameter | Type | Description | 
|---|---|---|
| point1 | Point | A Pointstructure that represents the starting point of the linear gradient. | 
| point2 | Point | A Pointstructure that represents the endpoint of the linear gradient. | 
See Also
- struct Point
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD
LinearMulticolorGradientBrush(PointF, PointF)
Initializes a new instance of the LinearMulticolorGradientBrush class with the specified points.
public LinearMulticolorGradientBrush(PointF point1, PointF point2)
| Parameter | Type | Description | 
|---|---|---|
| point1 | PointF | A PointFstructure that represents the starting point of the linear gradient. | 
| point2 | PointF | A PointFstructure that represents the endpoint of the linear gradient. | 
See Also
- struct PointF
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD
LinearMulticolorGradientBrush(Rectangle, float)
Initializes a new instance of the LinearMulticolorGradientBrush class based on a rectangle and an orientation angle.
public LinearMulticolorGradientBrush(Rectangle rect, float angle)
| Parameter | Type | Description | 
|---|---|---|
| rect | Rectangle | A RectangleFstructure that specifies the bounds of the linear gradient. | 
| angle | Single | The angle, measured in degrees clockwise from the x-axis, of the gradient’s orientation line. | 
See Also
- struct Rectangle
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD
LinearMulticolorGradientBrush(RectangleF, float)
Initializes a new instance of the LinearMulticolorGradientBrush class based on a rectangle and an orientation angle.
public LinearMulticolorGradientBrush(RectangleF rect, float angle)
| Parameter | Type | Description | 
|---|---|---|
| rect | RectangleF | A RectangleFstructure that specifies the bounds of the linear gradient. | 
| angle | Single | The angle, measured in degrees clockwise from the x-axis, of the gradient’s orientation line. | 
See Also
- struct RectangleF
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD
LinearMulticolorGradientBrush(Rectangle, float, bool)
Initializes a new instance of the LinearMulticolorGradientBrush class based on a rectangle and an orientation angle.
public LinearMulticolorGradientBrush(Rectangle rect, float angle, bool isAngleScalable)
| Parameter | Type | Description | 
|---|---|---|
| rect | Rectangle | A RectangleFstructure that specifies the bounds of the linear gradient. | 
| angle | Single | The angle, measured in degrees clockwise from the x-axis, of the gradient’s orientation line. | 
| isAngleScalable | Boolean | if set to truethe angle is changed during transformations with thisLinearMulticolorGradientBrush. | 
See Also
- struct Rectangle
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD
LinearMulticolorGradientBrush(RectangleF, float, bool)
Initializes a new instance of the LinearMulticolorGradientBrush class based on a rectangle and an orientation angle.
public LinearMulticolorGradientBrush(RectangleF rect, float angle, bool isAngleScalable)
| Parameter | Type | Description | 
|---|---|---|
| rect | RectangleF | A RectangleFstructure that specifies the bounds of the linear gradient. | 
| angle | Single | The angle, measured in degrees clockwise from the x-axis, of the gradient’s orientation line. | 
| isAngleScalable | Boolean | if set to truethe angle is changed during transformations with thisLinearMulticolorGradientBrush. | 
See Also
- struct RectangleF
- class LinearMulticolorGradientBrush
- namespace Aspose.PSD.Brushes
- assembly Aspose.PSD