'Declaration
Public Function New( _ ByVal color As NColor, _ ByVal x As System.Single, _ ByVal y As System.Single, _ ByVal angle As System.Single, _ ByVal intensity As System.Single, _ ByVal shape As AGPointShape _ )
'Usage
Dim color As NColor Dim x As System.Single Dim y As System.Single Dim angle As System.Single Dim intensity As System.Single Dim shape As AGPointShape Dim instance As New NAdvancedGradientPoint(color, x, y, angle, intensity, shape)
Parameters
- color
- The color of the point.
- x
- The horizontal position of the point in the gradient in percents, whereas 0 means left most and 100% right most.
- y
- The vertical position of the point in the gradient in percents, whereas 0 means top most and 100% bottom most.
- angle
- The rotation of the point shape relative to its center when the shape is rectangle or line.
- intensity
- The intensisity of the point in the range [0, 100].
- shape
- The shape of the point.