Class ComponentTextArrow
- java.lang.Object
-
- net.sourceforge.plantuml.asciiart.AbstractComponentText
-
- net.sourceforge.plantuml.asciiart.ComponentTextArrow
-
- All Implemented Interfaces:
ArrowComponent,Component,Styleable,WithStyle
public class ComponentTextArrow extends AbstractComponentText implements ArrowComponent
-
-
Constructor Summary
Constructors Constructor Description ComponentTextArrow(ComponentType type, ArrowConfiguration config, Display stringsToDisplay, FileFormat fileFormat, int maxAsciiMessageLength)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisplaycleanAndManageBoldNumber(Display orig, FileFormat fileFormat)voiddrawU(UGraphic ug, Area area, Context2D context)Point2DgetEndPoint(StringBounder stringBounder, Dimension2D dimensionToUse)doublegetPaddingY()doublegetPosArrow(StringBounder stringBounder)doublegetPreferredHeight(StringBounder stringBounder)doublegetPreferredWidth(StringBounder stringBounder)Point2DgetStartPoint(StringBounder stringBounder, Dimension2D dimensionToUse)doublegetYPoint(StringBounder stringBounder)-
Methods inherited from class net.sourceforge.plantuml.asciiart.AbstractComponentText
getPreferredDimension, getStyleSignature, getUsedStyles
-
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.skin.Component
getPreferredDimension
-
Methods inherited from interface net.sourceforge.plantuml.style.Styleable
getStyleSignature
-
Methods inherited from interface net.sourceforge.plantuml.style.WithStyle
getUsedStyles
-
-
-
-
Constructor Detail
-
ComponentTextArrow
public ComponentTextArrow(ComponentType type, ArrowConfiguration config, Display stringsToDisplay, FileFormat fileFormat, int maxAsciiMessageLength)
-
-
Method Detail
-
cleanAndManageBoldNumber
public static Display cleanAndManageBoldNumber(Display orig, FileFormat fileFormat)
-
getPreferredHeight
public double getPreferredHeight(StringBounder stringBounder)
- Specified by:
getPreferredHeightin interfaceComponent
-
getPreferredWidth
public double getPreferredWidth(StringBounder stringBounder)
- Specified by:
getPreferredWidthin interfaceComponent
-
getStartPoint
public Point2D getStartPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
- Specified by:
getStartPointin interfaceArrowComponent
-
getEndPoint
public Point2D getEndPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
- Specified by:
getEndPointin interfaceArrowComponent
-
getPaddingY
public double getPaddingY()
- Specified by:
getPaddingYin interfaceArrowComponent
-
getYPoint
public double getYPoint(StringBounder stringBounder)
- Specified by:
getYPointin interfaceArrowComponent
-
getPosArrow
public double getPosArrow(StringBounder stringBounder)
- Specified by:
getPosArrowin interfaceArrowComponent
-
-