net.sourceforge.plantuml.ugraphic
Class AbstractCommonUGraphic

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
All Implemented Interfaces:
UGraphic
Direct Known Subclasses:
AbstractUGraphic, UGraphicTxt

public abstract class AbstractCommonUGraphic
extends java.lang.Object
implements UGraphic


Constructor Summary
AbstractCommonUGraphic(ColorMapper colorMapper)
           
 
Method Summary
 ColorMapper getColorMapper()
           
 UParam getParam()
           
 double getTranslateX()
           
 double getTranslateY()
           
 void setTranslate(double dx, double dy)
           
 void translate(double dx, double dy)
           
 
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
centerChar, draw, getStringBounder, setAntiAliasing, setClip, setUrl
 

Constructor Detail

AbstractCommonUGraphic

public AbstractCommonUGraphic(ColorMapper colorMapper)
Method Detail

getParam

public final UParam getParam()
Specified by:
getParam in interface UGraphic

translate

public final void translate(double dx,
                            double dy)
Specified by:
translate in interface UGraphic

setTranslate

public final void setTranslate(double dx,
                               double dy)
Specified by:
setTranslate in interface UGraphic

getTranslateX

public final double getTranslateX()
Specified by:
getTranslateX in interface UGraphic

getTranslateY

public final double getTranslateY()
Specified by:
getTranslateY in interface UGraphic

getColorMapper

public final ColorMapper getColorMapper()
Specified by:
getColorMapper in interface UGraphic


Copyright © 2011. All Rights Reserved.