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.SVGParsercreateSvgParser()intgetHeight(int base)CustomTaggetInstance(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)intgetWidth(int base)booleanisEmptyTag()voidpaint(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:
getInstancein classCustomTag
-
isEmptyTag
public boolean isEmptyTag()
- Overrides:
isEmptyTagin 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()
-
-