Package de.elo.mover.main.tiff
Class BarPosition
java.lang.Object
de.elo.mover.main.tiff.BarPosition
public class BarPosition
extends java.lang.Object
Überschrift: BarPosition.
Beschreibung: Position des Balkens in der Trennseite.
Copyright: Copyright (c) ELO Digital Office GmbH 2018
-
Constructor Summary
Constructors Constructor Description BarPosition(int index1, int index2)
Konstruktor. -
Method Summary
Modifier and Type Method Description boolean
hasHorizontalBar(java.awt.image.RenderedImage image)
True, falls ein horizontaler Trennbalken erkannt wurde.boolean
hasVerticalBar(java.awt.image.RenderedImage image)
True, falls ein vertikaler Trennbalken erkannt wurde.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BarPosition
public BarPosition(int index1, int index2)Konstruktor.- Parameters:
index1
- Weiss/Schwarzindex2
- Schwarz/Weiss
-
-
Method Details
-
hasHorizontalBar
public boolean hasHorizontalBar(java.awt.image.RenderedImage image)True, falls ein horizontaler Trennbalken erkannt wurde.- Parameters:
image
- RenderedImage- Returns:
- horizontaler Balken wurde erkannt
-
hasVerticalBar
public boolean hasVerticalBar(java.awt.image.RenderedImage image)True, falls ein vertikaler Trennbalken erkannt wurde.- Parameters:
image
- RenderedImage- Returns:
- vertikaler Balken wurde erkannt
-