Committed C# port from Mohamad
[zxing.git] / csharp / qrcode / detector / FinderPatternInfo.cs
diff --git a/csharp/qrcode/detector/FinderPatternInfo.cs b/csharp/qrcode/detector/FinderPatternInfo.cs
new file mode 100755 (executable)
index 0000000..5faae93
--- /dev/null
@@ -0,0 +1,51 @@
+/*\r
+* Copyright 2007 ZXing authors\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+*      http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*/\r
+namespace com.google.zxing.qrcode.detector\r
+{\r
+    using com.google.zxing;\r
+    using com.google.zxing.common;\r
+\r
+    public sealed class FinderPatternInfo\r
+    { \r
+          private  FinderPattern bottomLeft;\r
+          private  FinderPattern topLeft;\r
+          private  FinderPattern topRight;\r
+\r
+          public FinderPatternInfo(FinderPattern[] patternCenters) {\r
+            this.bottomLeft = patternCenters[0];\r
+            this.topLeft = patternCenters[1];\r
+            this.topRight = patternCenters[2];\r
+          }\r
+\r
+          public FinderPattern getBottomLeft()\r
+          {\r
+            return bottomLeft;\r
+          }\r
+\r
+          public FinderPattern getTopLeft()\r
+          {\r
+            return topLeft;\r
+          }\r
+\r
+          public FinderPattern getTopRight()\r
+          {\r
+            return topRight;\r
+          }\r
+    \r
+    }\r
+\r
+}\r
+\r