org.apache.batik.bridge

Class SVGSVGElementBridge.SVGSVGElementViewport

public static class SVGSVGElementBridge.SVGSVGElementViewport extends Object implements Viewport

A viewport defined an <svg> element.
Constructor Summary
SVGSVGElementViewport(float w, float h)
Constructs a new viewport with the specified SVGSVGElement.
Method Summary
floatgetHeight()
Returns the height of this viewport.
floatgetWidth()
Returns the width of this viewport.

Constructor Detail

SVGSVGElementViewport

public SVGSVGElementViewport(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 Detail

getHeight

public float getHeight()
Returns the height of this viewport.

getWidth

public float getWidth()
Returns the width of this viewport.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.