From 022d26be7bbfd81a7c1aa2647ab275c1325ebefa Mon Sep 17 00:00:00 2001 From: ZHOU Jie Date: Thu, 11 Jan 2024 16:41:06 +0800 Subject: [PATCH] Add back Zero into Size.cs --- src/OpenCvSharp/Modules/core/Struct/Size.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/OpenCvSharp/Modules/core/Struct/Size.cs b/src/OpenCvSharp/Modules/core/Struct/Size.cs index 5678fdfcc..f66ab80a7 100644 --- a/src/OpenCvSharp/Modules/core/Struct/Size.cs +++ b/src/OpenCvSharp/Modules/core/Struct/Size.cs @@ -21,6 +21,11 @@ public record struct Size(int Width, int Height) /// /// public int Height = Height; + + /// + /// Zero size + /// + public static readonly Size Zero = default; /// /// Constructor