Class AbstractCommonUGraphic
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
-
- All Implemented Interfaces:
UGraphic
- Direct Known Subclasses:
AbstractUGraphic,UGraphicDebug,UGraphicTxt
public abstract class AbstractCommonUGraphic extends Object implements UGraphic
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCommonUGraphic(AbstractCommonUGraphic other)AbstractCommonUGraphic(HColor defaultBackground, ColorMapper colorMapper, StringBounder stringBounder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UGraphicapply(UChange change)voidcloseGroup()voidcloseUrl()protected abstract AbstractCommonUGraphiccopyUGraphic()doubledpiFactor()voidenlargeClip()voidflushUg()UClipgetClip()ColorMappergetColorMapper()HColorgetDefaultBackground()UParamgetParam()StringBoundergetStringBounder()protected doublegetTranslateX()protected doublegetTranslateY()booleanmatchesProperty(String propertyName)voidstartGroup(UGroupType type, String ident)voidstartUrl(Url url)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.ugraphic.UGraphic
draw, writeToStream
-
-
-
-
Constructor Detail
-
AbstractCommonUGraphic
public AbstractCommonUGraphic(HColor defaultBackground, ColorMapper colorMapper, StringBounder stringBounder)
-
AbstractCommonUGraphic
protected AbstractCommonUGraphic(AbstractCommonUGraphic other)
-
-
Method Detail
-
getDefaultBackground
public HColor getDefaultBackground()
- Specified by:
getDefaultBackgroundin interfaceUGraphic
-
dpiFactor
public double dpiFactor()
-
getClip
public final UClip getClip()
-
enlargeClip
public final void enlargeClip()
-
copyUGraphic
protected abstract AbstractCommonUGraphic copyUGraphic()
-
getStringBounder
public StringBounder getStringBounder()
- Specified by:
getStringBounderin interfaceUGraphic
-
getTranslateX
protected final double getTranslateX()
-
getTranslateY
protected final double getTranslateY()
-
getColorMapper
public final ColorMapper getColorMapper()
- Specified by:
getColorMapperin interfaceUGraphic
-
startGroup
public void startGroup(UGroupType type, String ident)
- Specified by:
startGroupin interfaceUGraphic
-
closeGroup
public void closeGroup()
- Specified by:
closeGroupin interfaceUGraphic
-
matchesProperty
public boolean matchesProperty(String propertyName)
- Specified by:
matchesPropertyin interfaceUGraphic
-
-