Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusFont

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusFont
    extends EmfPlusGraphicsObjectType

    The EmfPlusFont object specifies properties that determine the appearance of text, including typeface, size, and style.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlusFont() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float getEmSize()
      Gets or sets a 32-bit floating-point value that specifies the em size of the font in units specified by the SizeUnit field.
      String getFamilyName()
      Gets or sets a string of Length Unicode characters that contains the name of the font family
      int getFontStyleFlags()
      Gets or sets a 32-bit signed integer that specifies attributes of the character glyphs that affect the appearance of the font, such as bold and italic.
      int getSizeUnit()
      Gets or sets a 32-bit unsigned integer that specifies the units used for the EmSize field.
      void setEmSize(float value)
      Gets or sets a 32-bit floating-point value that specifies the em size of the font in units specified by the SizeUnit field.
      void setFamilyName(String value)
      Gets or sets a string of Length Unicode characters that contains the name of the font family
      void setFontStyleFlags(int value)
      Gets or sets a 32-bit signed integer that specifies attributes of the character glyphs that affect the appearance of the font, such as bold and italic.
      void setSizeUnit(int value)
      Gets or sets a 32-bit unsigned integer that specifies the units used for the EmSize field.
    • Constructor Detail

      • EmfPlusFont

        public EmfPlusFont()
    • Method Detail

      • getFamilyName

        public String getFamilyName()

        Gets or sets a string of Length Unicode characters that contains the name of the font family

      • setFamilyName

        public void setFamilyName(String value)

        Gets or sets a string of Length Unicode characters that contains the name of the font family

      • getFontStyleFlags

        public int getFontStyleFlags()

        Gets or sets a 32-bit signed integer that specifies attributes of the character glyphs that affect the appearance of the font, such as bold and italic. This value MUST be composed of FontStyle flags (section 2.1.2.4).

      • setFontStyleFlags

        public void setFontStyleFlags(int value)

        Gets or sets a 32-bit signed integer that specifies attributes of the character glyphs that affect the appearance of the font, such as bold and italic. This value MUST be composed of FontStyle flags (section 2.1.2.4).

      • getSizeUnit

        public int getSizeUnit()

        Gets or sets a 32-bit unsigned integer that specifies the units used for the EmSize field. These are typically the units that were employed when designing the font. The value MUST be in the UnitType enumeration (section 2.1.1.33).

      • setSizeUnit

        public void setSizeUnit(int value)

        Gets or sets a 32-bit unsigned integer that specifies the units used for the EmSize field. These are typically the units that were employed when designing the font. The value MUST be in the UnitType enumeration (section 2.1.1.33).

      • getEmSize

        public float getEmSize()

        Gets or sets a 32-bit floating-point value that specifies the em size of the font in units specified by the SizeUnit field.

      • setEmSize

        public void setEmSize(float value)

        Gets or sets a 32-bit floating-point value that specifies the em size of the font in units specified by the SizeUnit field.