Click or drag to resize
Size Structure
Implements primitive float Size

Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.Core (in EmptyKeys.UserInterface.Core.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public struct Size : IEquatable<Size>

The Size type exposes the following members.

Constructors
  NameDescription
Public methodSize(Double, Double)
Initializes a new instance of the Size struct.
Public methodSize(Single, Single)
Initializes a new instance of the Size struct.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Size)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Top
Fields
  NameDescription
Public fieldHeight
The height
Public fieldWidth
The width
Top
See Also