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 Display
cleanAndManageBoldNumber(Display orig, FileFormat fileFormat)
void
drawU(UGraphic ug, Area area, Context2D context)
Point2D
getEndPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
double
getPaddingY()
double
getPosArrow(StringBounder stringBounder)
double
getPreferredHeight(StringBounder stringBounder)
double
getPreferredWidth(StringBounder stringBounder)
Point2D
getStartPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
double
getYPoint(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:
getPreferredHeight
in interfaceComponent
-
getPreferredWidth
public double getPreferredWidth(StringBounder stringBounder)
- Specified by:
getPreferredWidth
in interfaceComponent
-
getStartPoint
public Point2D getStartPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
- Specified by:
getStartPoint
in interfaceArrowComponent
-
getEndPoint
public Point2D getEndPoint(StringBounder stringBounder, Dimension2D dimensionToUse)
- Specified by:
getEndPoint
in interfaceArrowComponent
-
getPaddingY
public double getPaddingY()
- Specified by:
getPaddingY
in interfaceArrowComponent
-
getYPoint
public double getYPoint(StringBounder stringBounder)
- Specified by:
getYPoint
in interfaceArrowComponent
-
getPosArrow
public double getPosArrow(StringBounder stringBounder)
- Specified by:
getPosArrow
in interfaceArrowComponent
-
-