org.apache.batik.swing
Class JSVGCanvas.ZoomAction
java.lang.Object
javax.swing.AbstractAction
org.apache.batik.swing.JSVGCanvas.AffineAction
org.apache.batik.swing.JSVGCanvas.ZoomAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- JSVGCanvas.ZoomInAction, JSVGCanvas.ZoomOutAction
- Enclosing class:
- JSVGCanvas
public class JSVGCanvas.ZoomAction
- extends JSVGCanvas.AffineAction
A swing action to apply a zoom factor to the canvas.
This can be used to zoom in (scale > 1) and out (scale <1).
- See Also:
- Serialized Form
JSVGCanvas.ZoomAction
public JSVGCanvas.ZoomAction(double scale)
JSVGCanvas.ZoomAction
public JSVGCanvas.ZoomAction(double scaleX,
double scaleY)
Copyright © 2008 Apache Software Foundation. All Rights Reserved.