net.sourceforge.plantuml.ugraphic
Class AbstractPlacementStrategy
java.lang.Object
net.sourceforge.plantuml.ugraphic.AbstractPlacementStrategy
- All Implemented Interfaces:
- PlacementStrategy
- Direct Known Subclasses:
- PlacementStrategyVisibility, PlacementStrategyX1X2, PlacementStrategyX1Y2Y3, PlacementStrategyY1Y2, PlacementStrategyY1Y2Left
public abstract class AbstractPlacementStrategy
- extends Object
- implements PlacementStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPlacementStrategy
public AbstractPlacementStrategy(StringBounder stringBounder)
add
public void add(TextBlock block)
- Specified by:
add
in interface PlacementStrategy
getDimensions
protected Map<TextBlock,Dimension2D> getDimensions()
getSumWidth
protected double getSumWidth()
getSumHeight
protected double getSumHeight()
getMaxHeight
protected double getMaxHeight()
getMaxWidth
protected double getMaxWidth()
getSumWidth
protected double getSumWidth(Iterator<Dimension2D> it)
getSumHeight
protected double getSumHeight(Iterator<Dimension2D> it)
getMaxWidth
protected double getMaxWidth(Iterator<Dimension2D> it)
getMaxHeight
protected double getMaxHeight(Iterator<Dimension2D> it)
getStringBounder
protected final StringBounder getStringBounder()
Copyright © 2012. All Rights Reserved.