ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorGradientLinear Class / SetVector Method
Gradient start point.
Gradient end point.
Flag indicating whether the start and end point coordinates are relative or absolute.




In This Topic
    SetVector Method (ImGearVectorGradientLinear)
    In This Topic
    Sets the vector that specifies geometric layout of the linear gradient object.
    Syntax
    'Declaration
     
    Public Sub SetVector( _
       ByVal gradientStart As ImGearVectorPoint3D, _
       ByVal gradientEnd As ImGearVectorPoint3D, _
       ByVal isAbsolute As Boolean _
    ) 
    'Usage
     
    Dim instance As ImGearVectorGradientLinear
    Dim gradientStart As ImGearVectorPoint3D
    Dim gradientEnd As ImGearVectorPoint3D
    Dim isAbsolute As Boolean
     
    instance.SetVector(gradientStart, gradientEnd, isAbsolute)
    public void SetVector( 
       ImGearVectorPoint3D gradientStart,
       ImGearVectorPoint3D gradientEnd,
       bool isAbsolute
    )
    public: void SetVector( 
       ImGearVectorPoint3D gradientStart,
       ImGearVectorPoint3D gradientEnd,
       bool isAbsolute
    ) 
    public:
    void SetVector( 
       ImGearVectorPoint3D gradientStart,
       ImGearVectorPoint3D gradientEnd,
       bool isAbsolute
    ) 

    Parameters

    gradientStart
    Gradient start point.
    gradientEnd
    Gradient end point.
    isAbsolute
    Flag indicating whether the start and end point coordinates are relative or absolute.
    See Also