Class SVGSymbolInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      SVGSymbolInfo​(java.lang.String svg, java.awt.geom.Point2D anchorPoint, java.awt.geom.Rectangle2D symbolBounds, java.awt.geom.Rectangle2D svgBounds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.geom.Rectangle2D getImageBounds()
      Dimension of the entire image.
      java.lang.String getSVG()  
      java.lang.String getSVGDataURI()  
      java.awt.geom.Rectangle2D getSymbolBounds()
      minimum bounding rectangle for the core symbol.
      java.awt.Point getSymbolCenterPoint()
      The point the image should be centered on or the "anchor point".
      int getSymbolCenterX()
      The x value the image should be centered on or the "anchor point".
      int getSymbolCenterY()
      The y value the image should be centered on or the "anchor point".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SVGSymbolInfo

        public SVGSymbolInfo​(java.lang.String svg,
                             java.awt.geom.Point2D anchorPoint,
                             java.awt.geom.Rectangle2D symbolBounds,
                             java.awt.geom.Rectangle2D svgBounds)
    • Method Detail

      • getSVGDataURI

        public java.lang.String getSVGDataURI()
      • getSVG

        public java.lang.String getSVG()
      • getSymbolCenterX

        public int getSymbolCenterX()
        The x value the image should be centered on or the "anchor point".
        Specified by:
        getSymbolCenterX in interface SymbolDimensionInfo
        Returns:
        Integer
      • getSymbolCenterY

        public int getSymbolCenterY()
        The y value the image should be centered on or the "anchor point".
        Specified by:
        getSymbolCenterY in interface SymbolDimensionInfo
        Returns:
        Integer
      • getSymbolCenterPoint

        public java.awt.Point getSymbolCenterPoint()
        The point the image should be centered on or the "anchor point".
        Specified by:
        getSymbolCenterPoint in interface SymbolDimensionInfo
        Returns:
        Point
      • getSymbolBounds

        public java.awt.geom.Rectangle2D getSymbolBounds()
        minimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.
        Specified by:
        getSymbolBounds in interface SymbolDimensionInfo
        Returns:
        Rectangle2D
      • getImageBounds

        public java.awt.geom.Rectangle2D getImageBounds()
        Dimension of the entire image.
        Specified by:
        getImageBounds in interface SymbolDimensionInfo
        Returns:
        Rectangle2D