The SizeD type exposes the following members.

Constructors

  NameDescription
Public methodSizeD(PointD)
Initializes a new instance of the SizeD class from the specified PointD.
Public methodSizeD(SizeD)
Initializes a new instance of the SizeD class from the specified existing SizeD.
Public methodSizeD(Double, Double)
Initializes a new instance of the SizeD class from the specified dimensions.

Methods

  NameDescription
Public methodStatic memberAdd
Adds the width and height of one SizeD structure to the width and height of another SizeD structure.
Public methodEquals
Tests to see whether the specified object is a SizeD with the same dimensions as this SizeD.
(Overrides ValueType..::..Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this Size structure.
(Overrides ValueType..::..GetHashCode()()()().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSubtract
Subtracts the width and height of one SizeD structure from the width and height of another SizeD structure.
Public methodToPointD
Converts a SizeD to a PointD.
Public methodToSize
Converts a SizeD to a Size.
Public methodToString
Creates a human-readable string that represents this SizeD.
(Overrides ValueType..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberAddition
Adds the width and height of one SizeD structure to the width and height of another SizeD structure.
Public operatorStatic memberEquality
Tests whether two SizeD structures are equal.
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(SizeD to PointD)
Converts the specified SizeD to a PointD.
Public operatorStatic memberInequality
Tests whether two SizeD structures are different.
Public operatorStatic memberSubtraction
Subtracts the width and height of one SizeD structure from the width and height of another SizeD structure.

Fields

  NameDescription
Public fieldStatic memberEmpty
Initializes a new instance of the SizeD class.

Properties

  NameDescription
Public propertyHeight
Gets or sets the vertical component of this SizeD.
Public propertyIsEmpty
Gets a value indicating whether this SizeD has zero width and height.
Public propertyWidth
Gets or sets the horizontal component of this SizeD.

See Also