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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected java.util.Map<TextBlock,
Dimension2D> protected double
protected double
getMaxHeight
(java.util.Iterator<Dimension2D> it) protected double
protected double
getMaxWidth
(java.util.Iterator<Dimension2D> it) protected final StringBounder
protected double
protected double
getSumHeight
(java.util.Iterator<Dimension2D> it) protected double
protected double
getSumWidth
(java.util.Iterator<Dimension2D> it) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sourceforge.plantuml.ugraphic.PlacementStrategy
getPositions
-
Constructor Details
-
AbstractPlacementStrategy
-
-
Method Details
-
add
- Specified by:
add
in interfacePlacementStrategy
-
getDimensions
-
getSumWidth
protected double getSumWidth() -
getSumHeight
protected double getSumHeight() -
getMaxHeight
protected double getMaxHeight() -
getMaxWidth
protected double getMaxWidth() -
getSumWidth
-
getSumHeight
-
getMaxWidth
-
getMaxHeight
-
getStringBounder
-