Class SVGGeneratorContext.GraphicContextDefaults

java.lang.Object
org.apache.batik.svggen.SVGGeneratorContext.GraphicContextDefaults
Enclosing class:
SVGGeneratorContext

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 Details

    • paint

      protected Paint paint
    • stroke

      protected Stroke stroke
    • composite

      protected Composite composite
    • clip

      protected Shape clip
    • hints

      protected RenderingHints hints
    • font

      protected Font font
    • background

      protected Color background
  • Constructor Details

    • GraphicContextDefaults

      public GraphicContextDefaults()
  • Method Details

    • setStroke

      public void setStroke(Stroke stroke)
    • getStroke

      public Stroke getStroke()
    • setComposite

      public void setComposite(Composite composite)
    • getComposite

      public Composite getComposite()
    • setClip

      public void setClip(Shape clip)
    • getClip

      public Shape getClip()
    • setRenderingHints

      public void setRenderingHints(RenderingHints hints)
    • getRenderingHints

      public RenderingHints getRenderingHints()
    • setFont

      public void setFont(Font font)
    • getFont

      public Font getFont()
    • setBackground

      public void setBackground(Color background)
    • getBackground

      public Color getBackground()
    • setPaint

      public void setPaint(Paint paint)
    • getPaint

      public Paint getPaint()