Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1StyleGradientStop Structure / C1StyleGradientStop Constructor
The offset of the gradient stop.
The color of the gradient stop.

In This Topic
    C1StyleGradientStop Constructor
    In This Topic
    Initializes a new instance of the C1StyleGradientStop struct.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal offset As Nullable(Of C1StyleLength), _
       ByVal color As C1Color _
    )
    public C1StyleGradientStop( 
       Nullable<C1StyleLength> offset,
       C1Color color
    )

    Parameters

    offset
    The offset of the gradient stop.
    color
    The color of the gradient stop.
    See Also