|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.graphics.FontMetrics
public final class FontMetrics
Instances of this class provide measurement information about fonts . FontMetrics are obtained from GCs using the
getFontMetrics() method.
GC.getFontMetrics()| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
int |
getAverageCharWidth()
Returns the average character width, measured in pixels, of the font described by the receiver. |
int |
getHeight()
Returns the height of the font described by the receiver, measured in pixels. |
int |
hashCode()
Returns an integer hash code for the receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getAverageCharWidth()
public int getHeight()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - the object to compare with this object
true if the object is the same as this object and
false otherwisehashCode()public int hashCode()
true when passed to equals must return the same
value for this method.
hashCode in class java.lang.Objectequals(java.lang.Object)
|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0