org.apache.batik.svggen

Class SVGGeneratorContext.GraphicContextDefaults

public static class SVGGeneratorContext.GraphicContextDefaults extends Object

Class to describe the GraphicContext defaults to be used. Note that this class does *not* contain a default for the initial transform, as this transform *has to be identity* for the SVGGraphics2D to operate (the TransformStacks operation is based on that assumption. See the DOMTreeManager class).
Field Summary
protected Colorbackground
protected Shapeclip
protected Compositecomposite
protected Fontfont
protected RenderingHintshints
protected Paintpaint
protected Strokestroke
Method Summary
ColorgetBackground()
ShapegetClip()
CompositegetComposite()
FontgetFont()
PaintgetPaint()
RenderingHintsgetRenderingHints()
StrokegetStroke()
voidsetBackground(Color background)
voidsetClip(Shape clip)
voidsetComposite(Composite composite)
voidsetFont(Font font)
voidsetPaint(Paint paint)
voidsetRenderingHints(RenderingHints hints)
voidsetStroke(Stroke stroke)

Field Detail

background

protected Color background

clip

protected Shape clip

composite

protected Composite composite

font

protected Font font

hints

protected RenderingHints hints

paint

protected Paint paint

stroke

protected Stroke stroke

Method Detail

getBackground

public Color getBackground()

getClip

public Shape getClip()

getComposite

public Composite getComposite()

getFont

public Font getFont()

getPaint

public Paint getPaint()

getRenderingHints

public RenderingHints getRenderingHints()

getStroke

public Stroke getStroke()

setBackground

public void setBackground(Color background)

setClip

public void setClip(Shape clip)

setComposite

public void setComposite(Composite composite)

setFont

public void setFont(Font font)

setPaint

public void setPaint(Paint paint)

setRenderingHints

public void setRenderingHints(RenderingHints hints)

setStroke

public void setStroke(Stroke stroke)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.