net.sourceforge.plantuml.salt.element
Class ElementButton
java.lang.Object
net.sourceforge.plantuml.salt.element.ElementButton
- All Implemented Interfaces:
- Element
public class ElementButton
- extends Object
- implements Element
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementButton
public ElementButton(String text,
UFont font,
SpriteContainer spriteContainer)
getPreferredDimension
public Dimension2D getPreferredDimension(StringBounder stringBounder,
double x,
double y)
- Specified by:
getPreferredDimension in interface Element
drawU
public void drawU(UGraphic ug,
double x,
double y,
int zIndex,
Dimension2D dimToUse)
- Specified by:
drawU in interface Element
drawText
protected void drawText(UGraphic ug,
double x,
double y)
getPureTextDimension
protected Dimension2D getPureTextDimension(StringBounder stringBounder)
getTextDimensionAt
protected Dimension2D getTextDimensionAt(StringBounder stringBounder,
double x)
getConfig
protected final FontConfiguration getConfig()
Copyright © 2013. All Rights Reserved.