Table of Contents

Struct SizeInt64

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

Constructors

SizeInt64(long, long)

Properties

Area
BoxedZero
HasArea
Height
IsEmpty

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

IsZero
Max
Width
Zero

Methods

Ceiling(SizeDouble)
Ceiling(SizeFloat)
Equals(SizeInt64)
Equals(object?)
Floor(SizeDouble)
Floor(SizeFloat)
GetHashCode()
Min(SizeInt64, SizeInt64)
Parse(string)
Round(SizeDouble, MidpointRounding)
Round(SizeFloat, MidpointRounding)
ToString()
ToString(IFormatProvider?)
ToString(string?, IFormatProvider?)
Truncate(SizeDouble)
Truncate(SizeFloat)
TryParse(string?, out SizeInt64)

Operators

operator ==(SizeInt64, SizeInt64)
explicit operator SizeInt64(Point2Int32)
explicit operator SizeInt64(Point2Int64)
explicit operator SizeInt64(SizeDouble)
explicit operator SizeInt64(SizeFloat)
explicit operator Vector2(SizeInt64)
explicit operator SizeInt64(Vector2Int32)
explicit operator SizeInt64(Vector2Int64)
explicit operator SizeInt64(Vector2)
implicit operator SizeInt64(SizeInt32)
implicit operator SizeF(SizeInt64)
operator !=(SizeInt64, SizeInt64)

Explicit Interface Implementations

Empty

Gets a special value that represents a size with no area. Note that his is not the same as a size value with zero area. See IsEmpty and HasArea for more details.

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