C# Class Microsoft.Maui.Essentials.RectangleExtensions

Exibir arquivo Open project: microhobby/maui-linux

Public Methods

Method Description
ToPlatformRectangle ( Rectangle rect ) : Rect
ToPlatformRectangleF ( RectangleF rect ) : RectF
ToSystemRectangle ( Rect rect ) : Rectangle
ToSystemRectangleF ( RectF rect ) : RectangleF

Method Details

ToPlatformRectangle() public static method

public static ToPlatformRectangle ( Rectangle rect ) : Rect
rect Rectangle
return Rect

ToPlatformRectangleF() public static method

public static ToPlatformRectangleF ( RectangleF rect ) : RectF
rect RectangleF
return RectF

ToSystemRectangle() public static method

public static ToSystemRectangle ( Rect rect ) : Rectangle
rect Rect
return Rectangle

ToSystemRectangleF() public static method

public static ToSystemRectangleF ( RectF rect ) : RectangleF
rect RectF
return RectangleF