Skip to content

RectExtensions.FromNative(Rect) method

Defined in

Type: RectExtensions Namespace: Splat Assembly: Splat.Drawing.dll

Applies to

net10.0-android36.0, net10.0-windows10.0.17763, net10.0-windows10.0.19041, net9.0-windows10.0.17763, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net8.0-windows10.0.17763, net462, net481

Overloads

  • 1. public static Rectangle FromNative(this Rect value)
  • 2. public static RectangleF FromNative(this RectF value)

1. Overload

public static Rectangle FromNative(this Rect value)

View source

Parameters

NameTypeDescription
valueRect--

Returns: Rectangle

2. Overload

public static RectangleF FromNative(this RectF value)

View source

Parameters

NameTypeDescription
valueRectF--

Returns: RectangleF