Class 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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • BarPosition

        public BarPosition​(int index1,
                           int index2)
        Konstruktor.
        Parameters:
        index1 - Weiss/Schwarz
        index2 - Schwarz/Weiss
    • Method Detail

      • 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