'Declaration
Public Function New( _ ByVal color As NColor, _ ByVal angle As NAngle, _ ByVal positionX As System.Single, _ ByVal positionY As System.Single, _ ByVal intensity As System.Single, _ ByVal shape As ENAdvancedGradientPointShape _ )
'Usage
Dim color As NColor Dim angle As NAngle Dim positionX As System.Single Dim positionY As System.Single Dim intensity As System.Single Dim shape As ENAdvancedGradientPointShape Dim instance As New NAdvancedGradientPoint(color, angle, positionX, positionY, intensity, shape)
Parameters
- color
- The color of the point.
- angle
- The rotation angle (in degrees) of the point shape. The point is rotated around its center.
- positionX
- The horizontal position of the point within the gradient box. Specified as a floating-point value in the range [0, 1], whereas 0 means leftmost and 1 rightmost.
- positionY
- The vertical position of the point within the gradient box. Specified as a floating point value in the range [0, 1], whereas 0 means topmost and 1 bottommost.
- intensity
- The intensisity of the point as a floating-point value in the range [0, 1].
- shape
- The shape of the point.