ComOfficeKitby KDAN API Reference for Windows
Table of Contents

Struct ModelRect

Namespace
ComOfficeKit.Model
Assembly
ComOfficeKit.dll

Apple's CGRect: an origin and a size, in the units of the member that holds it.

public readonly struct ModelRect : IEquatable<ModelRect>
Implements
Inherited Members

Constructors

ModelRect(double, double, double, double)

Apple's CGRect: an origin and a size, in the units of the member that holds it.

public ModelRect(double X, double Y, double Width, double Height)

Parameters

X double

The origin's horizontal coordinate.

Y double

The origin's vertical coordinate.

Width double

The width.

Height double

The height.

Properties

Height

The height.

public double Height { get; init; }

Property Value

double

Width

The width.

public double Width { get; init; }

Property Value

double

X

The origin's horizontal coordinate.

public double X { get; init; }

Property Value

double

Y

The origin's vertical coordinate.

public double Y { get; init; }

Property Value

double

Methods

Deconstruct(out double, out double, out double, out double)

public void Deconstruct(out double X, out double Y, out double Width, out double Height)

Parameters

X double
Y double
Width double
Height double

Equals(ModelRect)

public bool Equals(ModelRect other)

Parameters

other ModelRect

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ModelRect, ModelRect)

public static bool operator ==(ModelRect left, ModelRect right)

Parameters

left ModelRect
right ModelRect

Returns

bool

operator !=(ModelRect, ModelRect)

public static bool operator !=(ModelRect left, ModelRect right)

Parameters

left ModelRect
right ModelRect

Returns

bool