Nevron .NET Vision
Nevron.GraphicsCore Namespace / NAdvancedGradientPoint Class / NAdvancedGradientPoint Constructor / NAdvancedGradientPoint Constructor(NColor,Single,Single,Single,Single,AGPointShape)
The color of the point.
The horizontal position of the point in the gradient in percents, whereas 0 means left most and 100% right most.
The vertical position of the point in the gradient in percents, whereas 0 means top most and 100% bottom most.
The rotation of the point shape relative to its center when the shape is rectangle or line.
The intensisity of the point in the range [0, 100].
The shape of the point.


In This Topic
    NAdvancedGradientPoint Constructor(NColor,Single,Single,Single,Single,AGPointShape)
    In This Topic
    Creates a new advanced gradient point with the specified properties.
    Syntax
    '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)
    public NAdvancedGradientPoint( 
       NColor color,
       System.float x,
       System.float y,
       System.float angle,
       System.float intensity,
       AGPointShape 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also