Package com.pd4ml
Class CustomTag
- java.lang.Object
-
- com.pd4ml.util.Base
-
- com.pd4ml.CustomTag
-
- Direct Known Subclasses:
BatikSvgCustomTag,MathMLCustomTag,ORCodeCustomTag,PD4MLSvgCustomTag
public class CustomTag extends com.pd4ml.util.Base
-
-
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)voidpaint(float x, float y, Graphics2D g)voidsetElement(com.pd4ml.html.doc.elements.Element element)voidsetHeight(int height)voidsetInnerCode(String code)voidsetWidth(int width)
-
-
-
Method Detail
-
setElement
public void setElement(com.pd4ml.html.doc.elements.Element element)
-
getInnerCode
public String getInnerCode()
-
setInnerCode
public void setInnerCode(String code)
-
getWidth
public int getWidth(int base)
-
getHeight
public int getHeight(int base)
-
setWidth
public void setWidth(int width)
-
setHeight
public void setHeight(int height)
-
paint
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)
-
paint
public void paint(float x, float y, Graphics2D g)
-
isEmptyTag
public boolean isEmptyTag()
-
-