Package com.pd4ml.plugins
Class PD4MLSvgCustomTag
- java.lang.Object
-
- com.pd4ml.util.Base
-
- com.pd4ml.CustomTag
-
- com.pd4ml.plugins.PD4MLSvgCustomTag
-
public class PD4MLSvgCustomTag extends CustomTag
-
-
Constructor Summary
Constructors Constructor Description PD4MLSvgCustomTag()
PD4MLSvgCustomTag(java.lang.String code, com.pd4ml.fonts.FontCache fontCache, CustomTag prime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.pd4ml.svg.parser.SVGParser
createSvgParser()
int
getHeight(int base)
CustomTag
getInstance(java.lang.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, java.awt.Graphics2D g)
-
Methods inherited from class com.pd4ml.CustomTag
getInnerCode, paint, setElement, setHeight, setInnerCode, setWidth
-
-
-
-
Constructor Detail
-
PD4MLSvgCustomTag
public PD4MLSvgCustomTag()
-
PD4MLSvgCustomTag
public PD4MLSvgCustomTag(java.lang.String code, com.pd4ml.fonts.FontCache fontCache, CustomTag prime)
-
-
Method Detail
-
getInstance
public CustomTag getInstance(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)
- Overrides:
getInstance
in classCustomTag
-
isEmptyTag
public boolean isEmptyTag()
- Overrides:
isEmptyTag
in classCustomTag
-
paint
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)
-
createSvgParser
public static com.pd4ml.svg.parser.SVGParser createSvgParser()
-
-