Skip to main content

Struct LayoutRect

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

public readonly record struct LayoutRect : IEquatable<LayoutRect>

Implements​

IEquatable<LayoutRect>

Inherited Members​

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

Constructors​

LayoutRect(double, double, double, double, double, double, uint)​

public LayoutRect(double X, double Y, double Width, double Height, double PrimaryOffset, double PrimaryLength, uint LineIndex = 0)

Parameters​

X double

Y double

Width double

Height double

PrimaryOffset double

PrimaryLength double

LineIndex uint

Properties​

Height​

public double Height { get; init; }

Property Value​

double

LineIndex​

public uint LineIndex { get; init; }

Property Value​

uint

PrimaryLength​

public double PrimaryLength { get; init; }

Property Value​

double

PrimaryOffset​

public double PrimaryOffset { get; init; }

Property Value​

double

Width​

public double Width { get; init; }

Property Value​

double

X​

public double X { get; init; }

Property Value​

double

Y​

public double Y { get; init; }

Property Value​

double