Class FindLineOperator

    • Field Detail

      • LINE_PREV

        public static final String LINE_PREV
        Area attribute key for storing the previous area on line
        See Also:
        Constant Field Values
      • useConsistentStyle

        protected boolean useConsistentStyle
        Should the lines have a consistent visual style?
      • maxLineEmSpace

        protected float maxLineEmSpace
        The maximal distance of two areas allowed within a single line (in 'em' units)
    • Constructor Detail

      • FindLineOperator

        public FindLineOperator()
      • FindLineOperator

        public FindLineOperator​(boolean useConsistentStyle,
                                float maxLineEmSpace)
    • Method Detail

      • getId

        public String getId()
      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • getCategory

        public String getCategory()
      • getUseConsistentStyle

        public boolean getUseConsistentStyle()
      • setUseConsistentStyle

        public void setUseConsistentStyle​(boolean useConsistentStyle)
      • getMaxLineEmSpace

        public float getMaxLineEmSpace()
      • setMaxLineEmSpace

        public void setMaxLineEmSpace​(float maxLineEmSpace)
      • apply

        public void apply​(AreaTree atree)
      • recursiveJoinAreas

        protected void recursiveJoinAreas​(Area root)
        Goes through all the areas in the tree and tries to join their sub-areas into single areas.
      • joinAreas

        protected void joinAreas​(Area a)
        Goes through the grid of areas and joins the adjacent visual areas that are not separated by anything