Uses of Enum Class
org.jfree.svg.SVGUnits

Packages that use SVGUnits
Package
Description
Contains SVGGraphics2D and supporting classes that allow Java2D rendering to Scalable Vector Graphics (SVG) format.
  • Uses of SVGUnits in org.jfree.svg

    Fields in org.jfree.svg declared as SVGUnits
    Modifier and Type
    Field
    Description
    private SVGUnits
    SVGGraphics2D.fontSizeUnits
    The font size units.
    private final SVGUnits
    SVGGraphics2D.units
    Units for the width and height of the SVG, if null then no unit information is written in the SVG output.
    Methods in org.jfree.svg that return SVGUnits
    Modifier and Type
    Method
    Description
    SVGGraphics2D.getFontSizeUnits()
    Returns the font size units.
    SVGGraphics2D.getUnits()
    Returns the units for the width and height of the SVG element's viewport, as specified in the constructor.
    static SVGUnits
    SVGUnits.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static SVGUnits[]
    SVGUnits.values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Methods in org.jfree.svg with parameters of type SVGUnits
    Modifier and Type
    Method
    Description
    void
    SVGGraphics2D.setFontSizeUnits(SVGUnits fontSizeUnits)
    Sets the font size units.
    Constructors in org.jfree.svg with parameters of type SVGUnits
    Modifier
    Constructor
    Description
     
    SVGGraphics2D(double width, double height, SVGUnits units)
    Creates a new instance with the specified width and height in the given units.
     
    SVGGraphics2D(double width, double height, SVGUnits units, StringBuilder sb)
    Creates a new instance with the specified width and height that will populate the supplied StringBuilder instance.