Class SVGMultiImageElementBridge.MultiImageElementViewport

java.lang.Object
org.apache.batik.bridge.svg12.SVGMultiImageElementBridge.MultiImageElementViewport
All Implemented Interfaces:
Viewport
Enclosing class:
SVGMultiImageElementBridge

public static class SVGMultiImageElementBridge.MultiImageElementViewport extends Object implements Viewport
A viewport defined an <svg> element.
  • Field Details

    • width

      private float width
    • height

      private float height
  • Constructor Details

    • MultiImageElementViewport

      public MultiImageElementViewport(float w, float h)
      Constructs a new viewport with the specified SVGSVGElement.
      Parameters:
      w - the width of the viewport
      h - the height of the viewport
  • Method Details

    • getWidth

      public float getWidth()
      Returns the width of this viewport.
      Specified by:
      getWidth in interface Viewport
    • getHeight

      public float getHeight()
      Returns the height of this viewport.
      Specified by:
      getHeight in interface Viewport