PixelRect(PixelPoint, PixelSize) 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 position,
PixelSize size
)
Public Sub New (
position As PixelPoint,
size As PixelSize
)
new :
position : PixelPoint *
size : PixelSize -> PixelRect
Parameters
- PixelPoint
- The position of the rectangle.
- PixelSize
- The size of the rectangle.