Table of Contents

Struct RectInt64

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll
[TypeConverter(typeof(ParsableTypeConverter<RectInt64>))]
[ValueSerializer(typeof(ParsableValueSerializer<RectInt64>))]
public struct RectInt64 : IEquatable<RectInt64>, IFormattable, IParsable<RectInt64>
Implements
Inherited Members

Constructors

RectInt64(Point2Int64, SizeInt64)
RectInt64(Point2Int64, long, long)
RectInt64(long, long, SizeInt64)
RectInt64(long, long, long, long)

Properties

Area
Bottom
BottomLeft
BottomRight
BoxedZero
HasArea
Height
IsEmpty

Indicates whether the rectangle is the Empty rectangle or equivalent (negative width or negative height). Use HasArea to test whether the rectangle is non-empty and has a non-zero area.

IsLogicallyInfinite
IsZero
Left
Location
LogicallyInfinite
Right
Size
Top
TopLeft
TopRight
Width
X
Y
Zero

Methods

Ceiling(RectDouble)
Ceiling(RectFloat)
Contains(Point2Int64)
Contains(RectDouble)
Contains(RectInt64)
Contains(long, long)
Equals(RectInt64)
Equals(object?)
Floor(RectDouble)
Floor(RectFloat)
FromCorners(Point2Int64, Point2Int64)
FromEdges(long, long, long, long)
GetHashCode()
Inflate(RectInt64, long, long)
Inflate(RectInt64, long, long, long, long)
Inflate(long, long)
Intersect(RectInt64)
Intersect(RectInt64, RectInt64)
IntersectsWith(RectInt64)
Offset(Point2Int64)
Offset(RectInt64, Point2Int64)
Offset(RectInt64, Vector2Int64)
Offset(RectInt64, long, long)
Offset(long, long)
Parse(string)
Round(RectDouble, MidpointRounding)
Round(RectFloat, MidpointRounding)
Scale(RectInt64, long)
Scale(RectInt64, long, long)
Scale(long, long)
ToString()
ToString(IFormatProvider?)
ToString(string?, IFormatProvider?)
Truncate(RectDouble)
Truncate(RectFloat)
TryParse(string?, out RectInt64)
Union(RectInt64)
Union(RectInt64, RectInt64)

Operators

operator ==(RectInt64, RectInt64)
explicit operator RectInt64(RectDouble)
explicit operator RectInt64(RectFloat)
explicit operator Rectangle(RectInt64)
implicit operator RectInt64(RectInt32)
implicit operator RectInt64(Rectangle)
operator !=(RectInt64, RectInt64)

Explicit Interface Implementations

Empty

Gets a special value that represents a rectangle with no position or area.

Parse(string, IFormatProvider?)
TryParse(string?, IFormatProvider?, out RectInt64)