Class AbstractDSSFont

java.lang.Object
eu.europa.esig.dss.pades.AbstractDSSFont
All Implemented Interfaces:
DSSFont, Serializable
Direct Known Subclasses:
DSSFileFont, DSSJavaFont, ITextNativeFont, PdfBoxNativeFont

public abstract class AbstractDSSFont extends Object implements DSSFont, Serializable
The abstract implementation of a DSSFont
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final float
    The default font size (12f)
    protected float
    The size of the font
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Default constructor instantiating object with default configuration
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Gets size of the font
    void
    setSize(float size)
    Sets size of the font

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface eu.europa.esig.dss.pades.DSSFont

    getJavaFont
  • Field Details

    • DEFAULT_TEXT_SIZE

      protected static final float DEFAULT_TEXT_SIZE
      The default font size (12f)
      See Also:
    • size

      protected float size
      The size of the font
  • Constructor Details

    • AbstractDSSFont

      protected AbstractDSSFont()
      Default constructor instantiating object with default configuration
  • Method Details

    • getSize

      public float getSize()
      Description copied from interface: DSSFont
      Gets size of the font
      Specified by:
      getSize in interface DSSFont
      Returns:
      float value
    • setSize

      public void setSize(float size)
      Description copied from interface: DSSFont
      Sets size of the font
      Specified by:
      setSize in interface DSSFont
      Parameters:
      size - float value