Table of Contents

Struct SizeDouble

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

Constructors

SizeDouble(double, double)

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.

IsInteger
IsZero
PositiveInfinity
Width
Zero

Methods

Equals(SizeDouble)
Equals(object?)
GetHashCode()
Min(SizeDouble, SizeDouble)
Parse(string)
ToString()
ToString(IFormatProvider?)
ToString(string?, IFormatProvider?)
TryParse(string?, out SizeDouble)

Operators

operator ==(SizeDouble, SizeDouble)
explicit operator SizeDouble(Point2Double)
explicit operator SizeDouble(Point2Float)
explicit operator SizeDouble(Point2Int32)
explicit operator SizeF(SizeDouble)
explicit operator SizeDouble(Vector2Double)
explicit operator SizeDouble(Vector2Float)
explicit operator SizeDouble(Vector2Int32)
implicit operator Size(SizeDouble)
implicit operator SizeDouble(SizeFloat)
implicit operator SizeDouble(SizeInt32)
implicit operator SizeDouble(SizeInt64)
implicit operator SizeDouble(Size)
implicit operator SizeDouble(SizeF)
implicit operator SizeDouble(Size)
operator !=(SizeDouble, SizeDouble)

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 SizeDouble)