Skip to main content

Struct LayoutSize

Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll

public readonly record struct LayoutSize : IEquatable<LayoutSize>

Implements​

IEquatable<LayoutSize>

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

LayoutSize(double, double)​

public LayoutSize(double Width, double Height)

Parameters​

Width double

Height double

Properties​

Height​

public double Height { get; init; }

Property Value​

double

Width​

public double Width { get; init; }

Property Value​

double

Methods​

ClampNonNegative()​

public LayoutSize ClampNonNegative()

Returns​

LayoutSize