Interface SvgHandler

All Known Implementing Classes:
SvgBatikHandler, SvgSalamenderHandler

public interface SvgHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    createIcon(byte[] bs, String imgName)
     
    void
     
    void
    draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, boolean propLineThickness)
     
    getBounds(int x, int y, float scaleFactor)
     
    void
    init(byte[] imageData, String imageName)
     
  • Method Details

    • init

      void init(byte[] imageData, String imageName)
    • draw

      void draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, boolean propLineThickness)
    • destroy

      void destroy()
    • getBounds

      Rectangle getBounds(int x, int y, float scaleFactor)
    • createIcon

      Icon createIcon(byte[] bs, String imgName)