Udostępnij za pośrednictwem


Size Struct

Definition

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
Inheritance
Size
Attributes

Constructors

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

Fields

Zero

Properties

Height
IsZero
Width

Methods

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

Operators

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)

Extension Methods

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

Applies to