ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTLine Class / ImGearARTLine Constructor / ImGearARTLine Constructor(ImGearPoint,ImGearPoint,IImGearRGBQuad,ImGearARTPenStyle,Int32,Int32)
The start point of the line.
The end point of the line.
The color of the line.
The line style.
The width of the line.
Opacity of the line.




In This Topic
    ImGearARTLine Constructor(ImGearPoint,ImGearPoint,IImGearRGBQuad,ImGearARTPenStyle,Int32,Int32)
    In This Topic
    Initializes a new instance of the ImGearARTLine class object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal startPoint As ImGearPoint, _
       ByVal endPoint As ImGearPoint, _
       ByVal color As IImGearRGBQuad, _
       ByVal style As ImGearARTPenStyle, _
       ByVal width As Integer, _
       ByVal opacity As Integer _
    )
    'Usage
     
    Dim startPoint As ImGearPoint
    Dim endPoint As ImGearPoint
    Dim color As IImGearRGBQuad
    Dim style As ImGearARTPenStyle
    Dim width As Integer
    Dim opacity As Integer
     
    Dim instance As New ImGearARTLine(startPoint, endPoint, color, style, width, opacity)
    public ImGearARTLine( 
       ImGearPoint startPoint,
       ImGearPoint endPoint,
       IImGearRGBQuad color,
       ImGearARTPenStyle style,
       int width,
       int opacity
    )
    public: ImGearARTLine( 
       ImGearPoint startPoint,
       ImGearPoint endPoint,
       IImGearRGBQuad* color,
       ImGearARTPenStyle style,
       int width,
       int opacity
    )
    public:
    ImGearARTLine( 
       ImGearPoint startPoint,
       ImGearPoint endPoint,
       IImGearRGBQuad^ color,
       ImGearARTPenStyle style,
       int width,
       int opacity
    )

    Parameters

    startPoint
    The start point of the line.
    endPoint
    The end point of the line.
    color
    The color of the line.
    style
    The line style.
    width
    The width of the line.
    opacity
    Opacity of the line.
    See Also