Table of Contents

Struct Size

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll
[Serializable]
[SuppressMessage("Design", "CA1051: Do not declare visible instance fields")]
public record struct Size : IEquatable<Size>
Implements
Inherited Members

Constructors

Size(double, double)

Constructor

public Size(double width, double height)

Parameters

width double
height double

Size(int, int)

public Size(int Width, int Height)

Parameters

Width int
Height int

Fields

Height

public int Height

Field Value

int

Width

public int Width

Field Value

int

Operators

explicit operator Size(Size2d)

public static explicit operator Size(Size2d size)

Parameters

size Size2d

Returns

Size

explicit operator Size(Size2f)

public static explicit operator Size(Size2f size)

Parameters

size Size2f

Returns

Size