Class MissingGlyph

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Glyph

    public class MissingGlyph
    extends ShapeElement
    Implements an embedded font. SVG specification: http://www.w3.org/TR/SVG/fonts.html
    See Also:
    Serialized Form
    • Field Detail

      • path

        private java.awt.Shape path
      • horizAdvX

        private float horizAdvX
      • vertOriginX

        private float vertOriginX
      • vertOriginY

        private float vertOriginY
      • vertAdvY

        private float vertAdvY
    • Constructor Detail

      • MissingGlyph

        public MissingGlyph()
        Creates a new instance of Font
    • Method Detail

      • build

        protected void build()
                      throws SVGException
        Description copied from class: SVGElement
        Called by internal processes to rebuild the geometry of this node from it's presentation attributes, style attributes and animated tracks.
        Overrides:
        build in class RenderableElement
        Throws:
        SVGException
      • getPath

        public java.awt.Shape getPath()
      • getHorizAdvX

        public float getHorizAdvX()
      • getVertOriginX

        public float getVertOriginX()
      • getVertOriginY

        public float getVertOriginY()
      • getVertAdvY

        public float getVertAdvY()
      • updateTime

        public boolean updateTime​(double curTime)
                           throws SVGException
        Updates all attributes in this diagram associated with a time event. Ie, all attributes with track information.
        Overrides:
        updateTime in class TransformableElement
        Returns:
        - true if this node has changed state as a result of the time update
        Throws:
        SVGException
      • setPath

        public void setPath​(java.awt.Shape path)
        Parameters:
        path - the path to set
      • setHorizAdvX

        public void setHorizAdvX​(float horizAdvX)
        Parameters:
        horizAdvX - the horizAdvX to set
      • setVertOriginX

        public void setVertOriginX​(float vertOriginX)
        Parameters:
        vertOriginX - the vertOriginX to set
      • setVertOriginY

        public void setVertOriginY​(float vertOriginY)
        Parameters:
        vertOriginY - the vertOriginY to set
      • setVertAdvY

        public void setVertAdvY​(float vertAdvY)
        Parameters:
        vertAdvY - the vertAdvY to set