@Test public void testGetScale() { transform.scale(0.11, 0.666); Point2D translate = tested.getScale(); assertEquals(0.11d, translate.getX(), 0d); assertEquals(0.666d, translate.getY(), 0d); }
protected Point2D getScale() { return new Point2D( layer.getAbsoluteTransform().getScaleX(), layer.getAbsoluteTransform().getScaleY() ); }
LienzoLayer { protected Point2D getScale() { return new Point2D( layer.getAbsoluteTransform().getScaleX(), layer.getAbsoluteTransform().getScaleY() ); } }
LienzoLayer { protected Point2D getScale() { return new Point2D( layer.getAbsoluteTransform().getScaleX(), layer.getAbsoluteTransform().getScaleY() ); } LienzoLayer();   LienzoLayer(final LienzoCustomLayer layer); }
LienzoLayer { protected Point2D getScale() { return new Point2D( layer.getAbsoluteTransform().getScaleX(), layer.getAbsoluteTransform().getScaleY() ); } LienzoLayer();   LienzoLayer(final LienzoCustomLayer layer); void setSkipDraw(final boolean skipDraw); LienzoLayer add(final IPrimitive<?> shape); LienzoLayer delete(final IPrimitive<?> shape); void clear(); void onAfterDraw(final Command callback); Layer getTopLayer(); void add(final Layer layer); boolean isReady(); void remove(final Layer layer); void destroy(); Layer getLienzoLayer(); org.kie.workbench.common.stunner.core.client.canvas.Transform getTransform(); void translate(final double tx,
                          final double ty); void scale(final double sx,
                      final double sy); void scale(final double delta); }
LienzoLayer { protected Point2D getScale() { return new Point2D( layer.getAbsoluteTransform().getScaleX(), layer.getAbsoluteTransform().getScaleY() ); } LienzoLayer();   LienzoLayer(final LienzoCustomLayer layer); void setSkipDraw(final boolean skipDraw); LienzoLayer add(final IPrimitive<?> shape); LienzoLayer delete(final IPrimitive<?> shape); void clear(); void onAfterDraw(final Command callback); Layer getTopLayer(); void add(final Layer layer); boolean isReady(); void remove(final Layer layer); void destroy(); Layer getLienzoLayer(); org.kie.workbench.common.stunner.core.client.canvas.Transform getTransform(); void translate(final double tx,
                          final double ty); void scale(final double sx,
                      final double sy); void scale(final double delta);  }