APIdia Launch Partner
Top Constructors Methods
com.sun.webkit.graphics

public abstract Class WCFont

extends Ref
Class Inheritance
Known Direct Subclasses
com.sun.webkit.perf.WCFontPerfLogger, com.sun.javafx.webkit.prism.WCFontImpl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract WCFont
deriveFont(float size)

public boolean

Returns:

true if this object is the same as the object argument; false otherwise.
equals
(Object
the reference object with which to compare
object
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

public abstract float
public abstract float
public abstract float
public abstract float[]
public abstract int[]
getGlyphCodes(char[] chars)

public abstract double
getGlyphWidth(int glyph)

public abstract float
public abstract float
public abstract Object
public abstract WCTextRun[]
public abstract float
public int

Returns:

a hash code value for this object.
hashCode
()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.

public abstract boolean
Inherited from com.sun.webkit.graphics.Ref:
derefgetIDhasRefsref

Constructor Detail

WCFontback to summary
public WCFont()

Method Detail

deriveFontback to summary
public abstract WCFont deriveFont(float size)
equalsback to summary
public boolean equals(Object object)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

Note

This method is called from native code!

Parameters
object:Object

the reference object with which to compare

Returns:boolean

true if this object is the same as the object argument; false otherwise.

Annotations
@Override
getAscentback to summary
public abstract float getAscent()
getCapHeightback to summary
public abstract float getCapHeight()
getDescentback to summary
public abstract float getDescent()
getGlyphBoundingBoxback to summary
public abstract float[] getGlyphBoundingBox(int glyph)
getGlyphCodesback to summary
public abstract int[] getGlyphCodes(char[] chars)
getGlyphWidthback to summary
public abstract double getGlyphWidth(int glyph)
getLineGapback to summary
public abstract float getLineGap()
getLineSpacingback to summary
public abstract float getLineSpacing()
getPlatformFontback to summary
public abstract Object getPlatformFont()
getTextRunsback to summary
public abstract WCTextRun[] getTextRuns(String str)
getXHeightback to summary
public abstract float getXHeight()
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.

Note

This method is called from native code!

Returns:int

a hash code value for this object.

Annotations
@Override
See Also
java.lang.Object#equals(java.lang.Object), java.util.Hashtable
hasUniformLineMetricsback to summary
public abstract boolean hasUniformLineMetrics()