Java Doc for MultipleMaster.java in  » 6.0-JDK-Core » AWT » java » awt » font » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » AWT » java.awt.font 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.font.MultipleMaster

MultipleMaster
public interface MultipleMaster (Code)
The MultipleMaster interface represents Type 1 Multiple Master fonts. A particular Font object can implement this interface.
version:
   10 Feb 1997




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



Method Detail
deriveMMFont
public Font deriveMMFont(float[] axes)(Code)
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 a Font object that is an instance ofMultipleMaster and is based on the design axis valuesprovided by axes.



deriveMMFont
public Font deriveMMFont(float[] glyphWidths, float avgStemWidth, float typicalCapHeight, float typicalXHeight, float italicAngle)(Code)
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 widthof each glyph in font space
Parameters:
  avgStemWidth - the average stem width for the overall font infont space
Parameters:
  typicalCapHeight - the height of a typical upper case char
Parameters:
  typicalXHeight - the height of a typical lower case char
Parameters:
  italicAngle - the angle at which the italics lean, in degreescounterclockwise from vertical a Font object that is an instance of MultipleMaster and is based on the specified metricinformation.



getDesignAxisDefaults
public float[] getDesignAxisDefaults()(Code)
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. an array of default design values for each axis.



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



getDesignAxisRanges
public float[] getDesignAxisRanges()(Code)
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. an array of design limits for each axis.



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



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.