Class ComponentRoseNote
- java.lang.Object
-
- net.sourceforge.plantuml.skin.AbstractComponent
-
- net.sourceforge.plantuml.skin.AbstractTextualComponent
-
- net.sourceforge.plantuml.skin.rose.ComponentRoseNote
-
-
Constructor Summary
Constructors Constructor Description ComponentRoseNote(Style style, SymbolContext symbolContext, FontConfiguration font, Display strings, double paddingX, double paddingY, ISkinSimple spriteContainer, double roundCorner, HorizontalAlignment textAlignment, HorizontalAlignment position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
drawInternalU(UGraphic ug, Area area)
double
getEndingX(StringBounder stringBounder, double y)
double
getPaddingX()
double
getPaddingY()
double
getPreferredHeight(StringBounder stringBounder)
double
getPreferredWidth(StringBounder stringBounder)
double
getStartingX(StringBounder stringBounder, double y)
-
Methods inherited from class net.sourceforge.plantuml.skin.AbstractTextualComponent
getFont, getFontColor, getHorizontalAlignment, getIHtmlColorSet, getISkinSimple, getMarginX1, getMarginX2, getMarginY, getPureTextWidth, getTextBlock, getTextHeight, getTextWidth
-
Methods inherited from class net.sourceforge.plantuml.skin.AbstractComponent
drawBackgroundInternalU, drawU, getPreferredDimension, getStyle, getStyleSignature, getUsedStyles
-
-
-
-
Constructor Detail
-
ComponentRoseNote
public ComponentRoseNote(Style style, SymbolContext symbolContext, FontConfiguration font, Display strings, double paddingX, double paddingY, ISkinSimple spriteContainer, double roundCorner, HorizontalAlignment textAlignment, HorizontalAlignment position)
-
-
Method Detail
-
getPreferredWidth
public final double getPreferredWidth(StringBounder stringBounder)
- Specified by:
getPreferredWidth
in interfaceComponent
- Specified by:
getPreferredWidth
in classAbstractComponent
-
getPreferredHeight
public final double getPreferredHeight(StringBounder stringBounder)
- Specified by:
getPreferredHeight
in interfaceComponent
- Specified by:
getPreferredHeight
in classAbstractComponent
-
getPaddingX
public double getPaddingX()
- Overrides:
getPaddingX
in classAbstractComponent
-
getPaddingY
public double getPaddingY()
- Overrides:
getPaddingY
in classAbstractComponent
-
drawInternalU
protected void drawInternalU(UGraphic ug, Area area)
- Specified by:
drawInternalU
in classAbstractComponent
-
getStartingX
public double getStartingX(StringBounder stringBounder, double y)
- Specified by:
getStartingX
in interfaceStencil
-
getEndingX
public double getEndingX(StringBounder stringBounder, double y)
- Specified by:
getEndingX
in interfaceStencil
-
-