Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfPitchAndFamily



  • public class WmfPitchAndFamily
    extends com.aspose.ms.lang.Struct<WmfPitchAndFamily>

    The PitchAndFamily object specifies the pitch and family properties of a Font object (section 2.2.1.2). Pitch refers to the width of the characters, and family refers to the general appearance of a font.

    • Constructor Detail

      • WmfPitchAndFamily

        public WmfPitchAndFamily()
      • WmfPitchAndFamily

        public WmfPitchAndFamily(byte byteData)

        Initializes a new instance of the WmfPitchAndFamily struct.

        Parameters:
        byteData - The data.
      • WmfPitchAndFamily

        public WmfPitchAndFamily(byte pitch,
                                 byte family)

        Initializes a new instance of the WmfPitchAndFamily struct.

        Parameters:
        pitch - The pitch.
        family - The family.
    • Method Detail

      • getFamily

        public byte getFamily()

        Gets A property of a font that describes its general appearance. This MUST be a value in the FamilyFont enumeration

        Value: The family.
      • getPitch

        public byte getPitch()

        Gets A property of a font that describes the pitch, of the characters. This MUST be a value in the PitchFont enumeration.

        Value: The pitch.
      • getByteData

        public byte getByteData()

        Sets the data.

        Value: The data.
      • setByteData

        public void setByteData(byte value)

        Sets the data.

        Value: The data.
      • toByte

        public byte toByte()

        To the byte.

        Returns:
        The byte value.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object