org.eclipse.swt.graphics
Class Font
java.lang.Object
org.eclipse.swt.graphics.Resource
org.eclipse.swt.graphics.Font
- public final class Font
- extends
Resource
Instances of this class manage resources that define how text looks when
it is displayed.
Fonts may be constructed using one of the getFont
methods
in class Graphics
by providing a name, size and style information
or a FontData
object which encapsulates this data.
-
Since:
- 1.0
-
See Also:
-
FontData
,
Graphics
Method Summary
|
FontData[]
|
getFontData
()
Returns an array of FontData s representing the receiver. |
String
|
toString
()
Returns a string containing a concise, human-readable
description of the receiver. |
getFontData
public
FontData[] getFontData()
- Returns an array of
FontData
s representing the receiver.
-
-
Returns:
- an array of font data objects describing the receiver
toString
public
String toString()
- Returns a string containing a concise, human-readable
description of the receiver.
-
-
Returns:
- a string representation of the receiver
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.