Table of Contents

Struct Size2f

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll
[Serializable]
public record struct Size2f : IEquatable<Size2f>
Implements
Inherited Members

Constructors

Size2f(double, double)

Constructor

public Size2f(double width, double height)

Parameters

width double
height double

Size2f(float, float)

public Size2f(float Width, float Height)

Parameters

Width float
Height float

Fields

Height

public float Height

Field Value

float

Width

public float Width

Field Value

float

Methods

ToSize()

public readonly Size ToSize()

Returns

Size

ToSize2d()

public readonly Size2d ToSize2d()

Returns

Size2d

Operators

explicit operator Size2f(Size2d)

public static explicit operator Size2f(Size2d size)

Parameters

size Size2d

Returns

Size2f

implicit operator Size2f(Size)

public static implicit operator Size2f(Size size)

Parameters

size Size

Returns

Size2f