Table of Contents

Struct MetafileRect

Namespace
DocWright.Core.Metafiles
Assembly
DocWright.Core.dll

A rectangle in metafile device units, stored as an origin and a size so that an empty extent is representable and a caller never has to guess whether the far edge is inclusive.

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

Constructors

MetafileRect(int, int, int, int)

Initializes a rectangle.

Properties

Height

Gets the height in device units.

IsEmpty

Gets a value indicating whether the rectangle encloses no area.

Width

Gets the width in device units.

X

Gets the left coordinate in device units.

Y

Gets the top coordinate in device units.

Methods

Equals(MetafileRect)
Equals(object?)
GetHashCode()

Operators

operator ==(MetafileRect, MetafileRect)

Compares two rectangles for equality.

operator !=(MetafileRect, MetafileRect)

Compares two rectangles for inequality.