[Root] / Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / RectangleF Structure


In This Topic
    RectangleF Structure
    In This Topic
    Encapsulates a SkiaSharp.SKRect in .NET5+ or a System.Drawing.RectangleF in .NET Framework.
    Syntax
    'Declaration
     
    
    Public Structure RectangleF 
       Inherits System.ValueType
    'Usage
     
    
    Dim instance As RectangleF
    public struct RectangleF : System.ValueType 
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.Drawing.RectangleF

    Public Constructors
     NameDescription
    Public ConstructorCreates a new RectangleF by determining its Width & Height, along with the location of its top left corner.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Creates an empty RectangleF.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the y coordinate that corresponds to the sum of the Y & Height properties.  
    Public PropertyGets or sets the RectangleF's height.  
    Public PropertyGets the x coordinate that corresponds to the left edge of the RectangleF.  
    Public PropertyGets the x coordinate that corresponds to the sum of the X & Width properties.  
    Public PropertyGets the y coordinate that corresponds to the top edge of the RectangleF.  
    Public PropertyGets the value of the RectangleF object.  
    Public PropertyGets or sets the RectangleF's width.  
    Public PropertyGets or sets the x coordinate that corresponds to the upper left corner of the RectangleF.  
    Public PropertyGets or sets the y coordinate that corresponds to the upper left corner of the RectangleF.  
    Top
    Public Methods
     NameDescription
    Public Method  
    Public Method  
    Public Method  
    Top
    Public Operators
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also