Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.awt.font

Interface MultipleMaster


  • public interface MultipleMaster
    The MultipleMaster interface represents Type 1 Multiple Master fonts. A particular Font object can implement this interface.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Font deriveMMFont(float[] axes)
      Creates a new instance of a multiple master font based on the design axis values contained in the specified array.
      Font deriveMMFont(float[] glyphWidths, float avgStemWidth, float typicalCapHeight, float typicalXHeight, float italicAngle)
      Creates a new instance of a multiple master font based on detailed metric information.
      float[] getDesignAxisDefaults()
      Returns an array of default design values for each axis.
      String[] getDesignAxisNames()
      Returns the name for each design axis.
      float[] getDesignAxisRanges()
      Returns an array of design limits interleaved in the form [from->to] for each axis.
      int getNumDesignAxes()
      Returns the number of multiple master design controls.

      Eerste pagina van API Java Inhoudsopgave Haut

    • Method Detail

      • getNumDesignAxes

        int getNumDesignAxes()
        Returns the number of multiple master design controls. Design axes include things like width, weight and optical scaling.
        Returns:
        the number of multiple master design controls
      • getDesignAxisRanges

        float[] getDesignAxisRanges()
        Returns an array of design limits interleaved in the form [from->to] for each axis. For example, design limits for weight could be from 0.1 to 1.0. The values are returned in the same order returned by getDesignAxisNames.
        Returns:
        an array of design limits for each axis.
      • getDesignAxisDefaults

        float[] getDesignAxisDefaults()
        Returns an array of default design values for each axis. For example, the default value for weight could be 1.6. The values are returned in the same order returned by getDesignAxisNames.
        Returns:
        an array of default design values for each axis.
      • getDesignAxisNames

        String[] getDesignAxisNames()
        Returns the name for each design axis. This also determines the order in which the values for each axis are returned.
        Returns:
        an array containing the names of each design axis.
      • deriveMMFont

        Font deriveMMFont(float[] axes)
        Creates a new instance of a multiple master font based on the design axis values contained in the specified array. The size of the array must correspond to the value returned from getNumDesignAxes and the values of the array elements must fall within limits specified by getDesignAxesLimits. In case of an error, null is returned.
        Parameters:
        axes - an array containing axis values
        Returns:
        a Font object that is an instance of MultipleMaster and is based on the design axis values provided by axes.
      • deriveMMFont

        Font deriveMMFont(float[] glyphWidths,
                        float avgStemWidth,
                        float typicalCapHeight,
                        float typicalXHeight,
                        float italicAngle)
        Creates a new instance of a multiple master font based on detailed metric information. In case of an error, null is returned.
        Parameters:
        glyphWidths - an array of floats representing the desired width of each glyph in font space
        avgStemWidth - the average stem width for the overall font in font space
        typicalCapHeight - the height of a typical upper case char
        typicalXHeight - the height of a typical lower case char
        italicAngle - the angle at which the italics lean, in degrees counterclockwise from vertical
        Returns:
        a Font object that is an instance of MultipleMaster and is based on the specified metric information.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/awt/font/multiplemaster.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut