@Override
    public void translate(double tx, double ty) {
    """
	Applies the translation {@code (tx, ty)}.
	
	@param tx  the x-translation.
	@param ty  the y-translation.
    """
        AffineTransform t = getTransform();
        t.translate(tx, ty);
        setTransform(t);
    }
@Override
    public void translate(double tx, double ty) {
        AffineTransform t = getTransform();
        t.translate(tx, ty);
        setTransform(t);
    }
@ Override public void translate ( double tx , double ty ) { AffineTransform t = getTransform ( ) ; t . translate ( tx , ty ) ; setTransform ( t ) ; }
Applies the translation {@code (tx, ty)}.

@param tx  the x-translation.
@param ty  the y-translation.
Applies the translation { @code ( tx ty ) } .