Package net.sourceforge.plantuml.creole
Class SheetBlock1
java.lang.Object
net.sourceforge.plantuml.graphic.AbstractTextBlock
net.sourceforge.plantuml.creole.SheetBlock1
-
Constructor Summary
ConstructorsConstructorDescriptionSheetBlock1
(Sheet sheet, LineBreakStrategy maxWidth, double padding) SheetBlock1
(Sheet sheet, LineBreakStrategy maxWidth, double padding, double marginX1, double marginX2) -
Method Summary
Modifier and TypeMethodDescriptioncalculateDimension
(StringBounder stringBounder) void
double
getEndingX
(StringBounder stringBounder, double y) getInnerPosition
(String member, StringBounder stringBounder, InnerStrategy strategy) double
getStartingAltitude
(StringBounder stringBounder) double
getStartingX
(StringBounder stringBounder, double y) splitInTwo
(StringBounder stringBounder, double width) toString()
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getMinMax
-
Constructor Details
-
SheetBlock1
-
SheetBlock1
public SheetBlock1(Sheet sheet, LineBreakStrategy maxWidth, double padding, double marginX1, double marginX2)
-
-
Method Details
-
splitInTwo
- Specified by:
splitInTwo
in interfaceAtom
-
toString
-
getCellAlignment
-
calculateDimension
- Specified by:
calculateDimension
in interfaceAtom
- Specified by:
calculateDimension
in interfaceTextBlock
-
getInnerPosition
public Rectangle2D getInnerPosition(String member, StringBounder stringBounder, InnerStrategy strategy) - Specified by:
getInnerPosition
in interfaceTextBlock
- Overrides:
getInnerPosition
in classAbstractTextBlock
-
drawU
-
getStartingAltitude
- Specified by:
getStartingAltitude
in interfaceAtom
-
getStartingX
- Specified by:
getStartingX
in interfaceStencil
-
getEndingX
- Specified by:
getEndingX
in interfaceStencil
-