C2SContext2D implements IContext2D { public void transform(double d0, double d1, double d2, double d3, double d4, double d5) { delegate.transform(d0, d1, d2, d3, d4, d5); } C2SContext2D(double width, double height, Object nativeContext); protected  C2SContext2D(C2S delegate); String getSerializedSvg(); void setFillStyle(String fillStyleColor); void setStrokeStyle(String fillStyleColor); void setLineWidth(double var1); void setLineCap(String lineCap); void setLineJoin(String lineJoin); void setImageSmoothingEnabled(boolean enabled); void setFont(String font); void setTextBaseline(String baseline); void setTextAlign(String align); void setGlobalAlpha(double alpha); void setShadowColor(String color); void setShadowOffsetX(double color); void setShadowOffsetY(double color); void setShadowBlur(int color); void setMiterLimit(double limit); void setLineDashOffset(double offset); void addAttributes(Map<String, String> attributes); void saveGroup(Map<String, String> attributes); void restoreGroup(); void saveStyle(); void restoreStyle(); void save(); void restore(); void beginPath(); void closePath(); void moveTo(double x, double y); void lineTo(double x, double y); void setGlobalCompositeOperation(String operation); void quadraticCurveTo(double cpx, double cpy, double x, double y); void arc(double x, double y, double radius, double startAngle, double endAngle); void arc(double x, double y, double radius, double startAngle, double endAngle, boolean antiClockwise); void ellipse(double x, double y, double rx, double ry, double ro, double sa, double ea, boolean ac); void ellipse(double x, double y, double rx, double ry, double ro, double sa, double ea); void arcTo(double x1, double y1, double x2, double y2, double radius); void bezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y); void clearRect(double x, double y, double w, double h); void clip(); void fill(); void stroke(); void fillRect(double x, double y, double w, double h); void fillText(String text, double x, double y); CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1); CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1); void rect(double x, double y, double w, double h); void rotate(double angle); void scale(double sx, double sy); void transform(double d0, double d1, double d2, double d3, double d4, double d5); void setTransform(double d0, double d1, double d2, double d3, double d4, double d5); void strokeText(String text, double x, double y); void translate(double x, double y); boolean isPointInPath(double x, double y); void putImageData(ImageData imageData, double x, double y); void putImageData(ImageData imageData, double x, double y, double dx, double dy, double dw, double dh); void resetClip(); void setLineDash(double[] dashes); TextMetrics measureText(String text); HTMLCanvasElement createImageData(ImageData data); ImageData getImageData(double x, double y, double width, double height); ImageData createImageData(double width, double height); void drawImage(Element image, double x, double y); void drawImage(Element image, double x, double y, double w, double h); void drawImage(Element image, double sx, double sy, double sw, double sh, double x, double y, double w, double h);  }
@Test public void transform() { c2SContext2D.transform(1, 1, 1, 1, 1, 1); verify(c2S).transform(1, 1, 1, 1, 1, 1); }