Package com.pd4ml.plugins
Class BatikSvgCustomTag
- java.lang.Object
-
- com.pd4ml.util.Base
-
- com.pd4ml.CustomTag
-
- com.pd4ml.plugins.BatikSvgCustomTag
-
public class BatikSvgCustomTag extends CustomTag
-
-
Constructor Summary
Constructors Constructor Description BatikSvgCustomTag()BatikSvgCustomTag(String code, com.pd4ml.fonts.FontCache fontCache, CustomTag prime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight(int base)StringgetInnerCode()CustomTaggetInstance(String code, com.pd4ml.fonts.FontCache fontCache)intgetWidth(int base)booleanisEmptyTag()voidpaint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)org.apache.batik.gvt.GraphicsNodeparse(String uri, String svg)-
Methods inherited from class com.pd4ml.CustomTag
paint, setElement, setHeight, setInnerCode, setWidth
-
-
-
-
Constructor Detail
-
BatikSvgCustomTag
public BatikSvgCustomTag() throws UnsatisfiedLinkError- Throws:
UnsatisfiedLinkError
-
-
Method Detail
-
getInstance
public CustomTag getInstance(String code, com.pd4ml.fonts.FontCache fontCache) throws UnsatisfiedLinkError
- Overrides:
getInstancein classCustomTag- Throws:
UnsatisfiedLinkError
-
isEmptyTag
public boolean isEmptyTag()
- Overrides:
isEmptyTagin classCustomTag
-
getInnerCode
public String getInnerCode()
- Overrides:
getInnerCodein classCustomTag
-
paint
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)
-
parse
public org.apache.batik.gvt.GraphicsNode parse(String uri, String svg) throws IOException
- Throws:
IOException
-
-