Class Glyph

  • All Implemented Interfaces:
    java.io.Serializable

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

      • unicode

        java.lang.String unicode
        One or more characters indicating the unicode sequence that denotes this glyph.
    • Constructor Detail

      • Glyph

        public Glyph()
        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 MissingGlyph
        Throws:
        SVGException
      • getUnicode

        public java.lang.String getUnicode()
      • 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 MissingGlyph
        Returns:
        - true if this node has changed state as a result of the time update
        Throws:
        SVGException