Size 结构

定义

public value class Size
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.SizeTypeConverter))]
public struct Size
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.SizeTypeConverter))>]
type Size = struct
Public Structure Size
继承
Size
属性

构造函数

Size(Double)
Size(Double, Double)
Size(Vector2)

字段

Zero

属性

Height
IsZero
Width

方法

Deconstruct(Double, Double)
Equals(Object)
Equals(Size)
GetHashCode()
ToString()
TryParse(String, Size)

运算符

Addition(Size, Size)
Division(Size, Double)
Equality(Size, Size)
Explicit(Size to Point)
Implicit(Size to SizeF)
Inequality(Size, Size)
Multiply(Size, Double)
Subtraction(Size, Size)

扩展方法

Lerp(Size, Size, Double)
AdjustForFill(Size, Rect, IView)

适用于