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:
Serialized Form
  • Field Details

    • DEFAULT_TEXT_SIZE

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

      protected float size
      The size of the font
  • Constructor Details

    • AbstractDSSFont

      public AbstractDSSFont()
  • 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