PixelRect(PixelPoint, PixelPoint) Constructor
Initializes a new instance of the PixelRect structure.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public PixelRect(
PixelPoint topLeft,
PixelPoint bottomRight
)
Public Sub New (
topLeft As PixelPoint,
bottomRight As PixelPoint
)
new :
topLeft : PixelPoint *
bottomRight : PixelPoint -> PixelRect
Parameters
- PixelPoint
- The top left position of the rectangle.
- PixelPoint
- The bottom right position of the rectangle.