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 protected
AbstractCommonUGraphic(AbstractCommonUGraphic other)
AbstractCommonUGraphic(HColor defaultBackground, ColorMapper colorMapper, StringBounder stringBounder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UGraphic
apply(UChange change)
void
closeGroup()
void
closeUrl()
protected abstract AbstractCommonUGraphic
copyUGraphic()
double
dpiFactor()
void
enlargeClip()
void
flushUg()
UClip
getClip()
ColorMapper
getColorMapper()
HColor
getDefaultBackground()
UParam
getParam()
StringBounder
getStringBounder()
UTranslate
getTranslate()
protected double
getTranslateX()
protected double
getTranslateY()
boolean
matchesProperty(String propertyName)
void
startGroup(Map<UGroupType,String> typeIdents)
void
startUrl(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:
getDefaultBackground
in 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:
getStringBounder
in interfaceUGraphic
-
getTranslateX
protected final double getTranslateX()
-
getTranslateY
protected final double getTranslateY()
-
getColorMapper
public final ColorMapper getColorMapper()
- Specified by:
getColorMapper
in interfaceUGraphic
-
startGroup
public void startGroup(Map<UGroupType,String> typeIdents)
- Specified by:
startGroup
in interfaceUGraphic
-
closeGroup
public void closeGroup()
- Specified by:
closeGroup
in interfaceUGraphic
-
matchesProperty
public boolean matchesProperty(String propertyName)
- Specified by:
matchesProperty
in interfaceUGraphic
-
getTranslate
public final UTranslate getTranslate()
-
-