com.mindfusion.svg
Class Globals

java.lang.Object
  extended by com.mindfusion.svg.Globals

public class Globals
extends java.lang.Object


Nested Class Summary
static class Globals.Config
           
 
Field Summary
static java.awt.Graphics2D Defa
           
static java.awt.geom.AffineTransform DefT
           
static SvgDocument Doc
           
static double FontScale
           
static SvgGraphics2D Gra
           
static java.lang.String UnitCSS
           
static java.text.DecimalFormat UnitFormat
           
static double UnitScale
           
 
Constructor Summary
Globals()
           
 
Method Summary
static void clearImages()
           
static java.awt.Shape getClip()
           
static java.awt.Color getColor()
           
static java.awt.Font getFont()
           
static java.awt.FontMetrics getFontMetrics()
           
static java.awt.FontMetrics getFontMetrics(java.awt.Font f)
           
static java.awt.font.FontRenderContext getFRC()
           
static long getId()
           
static java.lang.String getLineCap()
           
static java.lang.String getLineJoin()
           
static java.awt.Paint getPaint()
           
static java.awt.Stroke getStroke()
           
static double getSW()
           
static java.lang.String getSWS()
           
static java.awt.geom.AffineTransform getTransform()
           
static boolean isCustomStroke()
           
static boolean isReady()
           
static boolean isTransformed()
           
static java.lang.String newImage(java.awt.Image img)
           
static long nextId()
           
static void resetId()
           
static void setId(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Doc

public static SvgDocument Doc

Defa

public static final java.awt.Graphics2D Defa

UnitScale

public static double UnitScale

UnitCSS

public static java.lang.String UnitCSS

FontScale

public static double FontScale

Gra

public static SvgGraphics2D Gra

DefT

public static java.awt.geom.AffineTransform DefT

UnitFormat

public static final java.text.DecimalFormat UnitFormat
Constructor Detail

Globals

public Globals()
Method Detail

clearImages

public static void clearImages()

newImage

public static java.lang.String newImage(java.awt.Image img)
                                 throws java.io.IOException
Throws:
java.io.IOException

nextId

public static long nextId()

getId

public static long getId()

setId

public static void setId(long value)

resetId

public static void resetId()

isReady

public static boolean isReady()

isCustomStroke

public static boolean isCustomStroke()

getStroke

public static java.awt.Stroke getStroke()

getPaint

public static java.awt.Paint getPaint()

getFRC

public static java.awt.font.FontRenderContext getFRC()

isTransformed

public static boolean isTransformed()

getTransform

public static java.awt.geom.AffineTransform getTransform()

getFont

public static java.awt.Font getFont()

getFontMetrics

public static java.awt.FontMetrics getFontMetrics(java.awt.Font f)

getFontMetrics

public static java.awt.FontMetrics getFontMetrics()

getColor

public static java.awt.Color getColor()

getSW

public static double getSW()

getSWS

public static java.lang.String getSWS()

getLineCap

public static java.lang.String getLineCap()

getLineJoin

public static java.lang.String getLineJoin()

getClip

public static java.awt.Shape getClip()