public class CustomTag
extends com.pd4ml.util.Base
Constructor and Description |
---|
CustomTag() |
CustomTag(String code,
com.pd4ml.fonts.FontCache fontCache,
CustomTag prime) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight(int base) |
String |
getInnerCode() |
CustomTag |
getInstance(String code,
com.pd4ml.fonts.FontCache fontCache) |
int |
getWidth(int base) |
boolean |
isEmptyTag() |
void |
paint(float x,
float y,
float width,
float height,
float containerWidth,
float containerHeight,
Graphics2D g) |
void |
paint(float x,
float y,
Graphics2D g) |
void |
setElement(com.pd4ml.html.doc.elements.Element element) |
void |
setHeight(int height) |
void |
setInnerCode(String code) |
void |
setWidth(int width) |
public void setElement(com.pd4ml.html.doc.elements.Element element)
public String getInnerCode()
public void setInnerCode(String code)
public int getWidth(int base)
public int getHeight(int base)
public void setWidth(int width)
public void setHeight(int height)
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)
public void paint(float x, float y, Graphics2D g)
public boolean isEmptyTag()
Revision 4.1.0 / 20201216-0554