Sha256: fa0d308f821ccaa35af471a23da566f8a57d0636d57dbb644cd680afc240961a

Contents?: true

Size: 1.24 KB

Versions: 94

Compression:

Stored size: 1.24 KB

Contents

/*
 * Copyright 2009 ZXing authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.zxing.oned.rss;

import com.google.zxing.ResultPoint;

final class FinderPattern {

  private final int value;
  private final int[] startEnd;
  private final ResultPoint[] resultPoints;

  FinderPattern(int value, int[] startEnd, int start, int end, int rowNumber) {
    this.value = value;
    this.startEnd = startEnd;
    this.resultPoints = new ResultPoint[] {
        new ResultPoint((float) start, (float) rowNumber),
        new ResultPoint((float) end, (float) rowNumber),
    };
  }

  int getValue() {
    return value;
  }

  int[] getStartEnd() {
    return startEnd;
  }

  ResultPoint[] getResultPoints() {
    return resultPoints;
  }

}

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
rhodes-3.5.1.12 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.5 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.4.2 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.4 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.3 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.3.beta.4 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.3.beta.3 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.3.beta.2 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.3.beta.1 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.7 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.6 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.5 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.4 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.3 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.2 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.2.beta.1 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.1 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.0 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java
rhodes-3.3.0.beta.3 lib/extensions/barcode/ext/barcode/platform/bb/ZXing/core/src/com/google/zxing/oned/rss/FinderPattern.java