public class PD4MLSvgCustomTag extends CustomTag
Constructor and Description |
---|
PD4MLSvgCustomTag() |
PD4MLSvgCustomTag(String code,
com.pd4ml.fonts.FontCache fontCache,
CustomTag prime) |
Modifier and Type | Method and Description |
---|---|
static com.pd4ml.svg.parser.SVGParser |
createSvgParser() |
int |
getHeight(int base) |
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) |
getInnerCode, paint, setElement, setHeight, setInnerCode, setWidth
public CustomTag getInstance(String code, com.pd4ml.fonts.FontCache fontCache)
getInstance
in class CustomTag
public boolean isEmptyTag()
isEmptyTag
in class CustomTag
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)
public static com.pd4ml.svg.parser.SVGParser createSvgParser()
Revision 4.0.5 / 20190716-0454