Click or drag to resize

Size Structure

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
[SerializableAttribute]
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 class
Public methodSize(Int32, Int32)
Initializes a new instance of the Size class
Top
Properties
  NameDescription
Public propertyStatic memberZero
Top
Methods
  NameDescription
Public methodEquals(Object)
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Size)
Specifies whether this object contains the same members as the specified Object.
Public methodGetHashCode
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Converts this object to a human readable string.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two CvPoint objects. The result specifies whether the members of each object are equal.
Public operatorStatic memberInequality
Compares two CvPoint objects. The result specifies whether the members of each object are unequal.
Top
Fields
  NameDescription
Public fieldHeight
Public fieldWidth
Top
See Also