Class AbstractPlacementStrategy

java.lang.Object
net.sourceforge.plantuml.ugraphic.AbstractPlacementStrategy
All Implemented Interfaces:
PlacementStrategy
Direct Known Subclasses:
PlacementStrategyVisibility, PlacementStrategyX1X2, PlacementStrategyX1Y2Y3, PlacementStrategyY1Y2, PlacementStrategyY1Y2Center, PlacementStrategyY1Y2Left, PlacementStrategyY1Y2Right

public abstract class AbstractPlacementStrategy extends java.lang.Object implements PlacementStrategy
  • Constructor Details

    • AbstractPlacementStrategy

      public AbstractPlacementStrategy(StringBounder stringBounder)
  • Method Details

    • add

      public void add(TextBlock block)
      Specified by:
      add in interface PlacementStrategy
    • getDimensions

      protected java.util.Map<TextBlock,Dimension2D> getDimensions()
    • getSumWidth

      protected double getSumWidth()
    • getSumHeight

      protected double getSumHeight()
    • getMaxHeight

      protected double getMaxHeight()
    • getMaxWidth

      protected double getMaxWidth()
    • getSumWidth

      protected double getSumWidth(java.util.Iterator<Dimension2D> it)
    • getSumHeight

      protected double getSumHeight(java.util.Iterator<Dimension2D> it)
    • getMaxWidth

      protected double getMaxWidth(java.util.Iterator<Dimension2D> it)
    • getMaxHeight

      protected double getMaxHeight(java.util.Iterator<Dimension2D> it)
    • getStringBounder

      protected final StringBounder getStringBounder()