ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorGradient Class / AddStop Method
Offset of the new gradient stop.
Color of the new gradient stop.




In This Topic
    AddStop Method
    In This Topic
    Adds new stop to the gradient.
    Syntax
    'Declaration
     
    Public Sub AddStop( _
       ByVal offset As Single, _
       ByVal color As ImGearVectorColorEx _
    ) 
    'Usage
     
    Dim instance As ImGearVectorGradient
    Dim offset As Single
    Dim color As ImGearVectorColorEx
     
    instance.AddStop(offset, color)
    public void AddStop( 
       float offset,
       ImGearVectorColorEx color
    )
    public: void AddStop( 
       float offset,
       ImGearVectorColorEx color
    ) 
    public:
    void AddStop( 
       float offset,
       ImGearVectorColorEx color
    ) 

    Parameters

    offset
    Offset of the new gradient stop.
    color
    Color of the new gradient stop.
    Remarks
    A stop is defined by its offset and color.
    See Also