org.apache.batik.css.svg
Interface SVGCSSContext
- All Superinterfaces:
- CommonCSSContext
- All Known Subinterfaces:
- SVGContext
- All Known Implementing Classes:
- DefaultSVGCSSContext
- public interface SVGCSSContext
- extends CommonCSSContext
This interface represents the context the application must provides
to the CSS engine in order to resolve the relative SVG CSS values.
getViewportWidth
public float getViewportWidth(Element e)
throws java.lang.IllegalStateException
- Returns the width of the viewport.
- Throws:
java.lang.IllegalStateException
- if the context was not able to compute
the value.
getViewportHeight
public float getViewportHeight(Element e)
throws java.lang.IllegalStateException
- Returns the height of the viewport.
- Throws:
java.lang.IllegalStateException
- if the context was not able to compute
the value.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.