Module io.sf.carte.echosvg.bridge
Package io.sf.carte.echosvg.bridge
Class SVGSVGElementBridge.SVGSVGElementViewport
java.lang.Object
io.sf.carte.echosvg.bridge.SVGSVGElementBridge.SVGSVGElementViewport
- Enclosing class:
SVGSVGElementBridge
A viewport defined an <svg> element.
-
Constructor Summary
ConstructorsConstructorDescriptionSVGSVGElementViewport(float w, float h) Constructs a new viewport with the specifiedSVGSVGElement. -
Method Summary
-
Constructor Details
-
SVGSVGElementViewport
public SVGSVGElementViewport(float w, float h) Constructs a new viewport with the specifiedSVGSVGElement.- Parameters:
w- the width of the viewporth- the height of the viewport
-
-
Method Details
-
getWidth
public float getWidth()Returns the width of this viewport. -
getHeight
public float getHeight()Returns the height of this viewport.
-