VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools.GraphicObjects Namespace / WpfRectangularGraphicObject Class / WpfRectangularGraphicObject Constructors / WpfRectangularGraphicObject Constructor(Rect,Pen,Brush)
Syntax Requirements SeeAlso
In This Topic
    WpfRectangularGraphicObject Constructor(Rect,Pen,Brush)
    In This Topic
    Initializes a new instance of the WpfRectangularGraphicObject class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal rect
    Bounding box, in object space, of rectangle.
    As System.Windows.Rect, _
    ByVal pen
    The pen that should be used for drawing the rectangle.
    As System.Windows.Media.Pen, _
    ByVal brush
    The brush that should be used for filling rectangle.
    As System.Windows.Media.Brush _
    )

    Parameters

    rect
    Bounding box, in object space, of rectangle.
    pen
    The pen that should be used for drawing the rectangle.
    brush
    The brush that should be used for filling rectangle.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also