Package net.sourceforge.plantuml.graphic
Class UGraphicDelegator
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.UGraphicDelegator
-
- All Implemented Interfaces:
UGraphic
- Direct Known Subclasses:
AbstractUGraphicHorizontalLine
,UGraphicCompressOnXorY
,UGraphicFilter
,UGraphicForSnake
,UGraphicHandwritten
,UGraphicInterceptorGoto
,UGraphicInterceptorOneSwimlane
,UGraphicInterceptorTile
,UGraphicInterceptorUDrawable
,UGraphicInterceptorUDrawable2
,UGraphicNewpages
public abstract class UGraphicDelegator extends Object implements UGraphic
-
-
Constructor Summary
Constructors Constructor Description UGraphicDelegator(UGraphic ug)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeGroup()
void
closeUrl()
void
draw(UShape shape)
void
flushUg()
ColorMapper
getColorMapper()
HColor
getDefaultBackground()
UParam
getParam()
StringBounder
getStringBounder()
protected UGraphic
getUg()
boolean
matchesProperty(String propertyName)
void
startGroup(Map<UGroupType,String> typeIdents)
void
startUrl(Url url)
String
toString()
void
writeToStream(OutputStream os, String metadata, int dpi)
-
-
-
Constructor Detail
-
UGraphicDelegator
public UGraphicDelegator(UGraphic ug)
-
-
Method Detail
-
matchesProperty
public final boolean matchesProperty(String propertyName)
- Specified by:
matchesProperty
in interfaceUGraphic
-
getStringBounder
public StringBounder getStringBounder()
- Specified by:
getStringBounder
in interfaceUGraphic
-
getColorMapper
public 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
-
getUg
protected UGraphic getUg()
-
getDefaultBackground
public HColor getDefaultBackground()
- Specified by:
getDefaultBackground
in interfaceUGraphic
-
writeToStream
public void writeToStream(OutputStream os, String metadata, int dpi) throws IOException
- Specified by:
writeToStream
in interfaceUGraphic
- Throws:
IOException
-
-