public abstract class WCFont extends Ref
| Constructor and Description |
|---|
WCFont() |
| Modifier and Type | Method and Description |
|---|---|
abstract WCFont |
deriveFont(float size) |
boolean |
equals(Object object)
Indicates whether some other object is "equal to" this one.
|
abstract float |
getAscent() |
abstract float |
getCapHeight() |
abstract float |
getDescent() |
abstract float[] |
getGlyphBoundingBox(int glyph) |
abstract int[] |
getGlyphCodes(char[] chars) |
abstract WCGlyphBuffer |
getGlyphsAndAdvances(String str,
int from,
int to,
boolean rtl) |
abstract double |
getGlyphWidth(int glyph) |
abstract float |
getLineGap() |
abstract float |
getLineSpacing() |
abstract int |
getOffsetForPosition(String str,
float x) |
abstract Object |
getPlatformFont() |
abstract double[] |
getStringBounds(String str,
int from,
int to,
boolean rtl) |
abstract double |
getStringWidth(String str) |
abstract float |
getXHeight() |
int |
hashCode()
Returns a hash code value for the object.
|
abstract boolean |
hasUniformLineMetrics() |
public abstract Object getPlatformFont()
public abstract WCFont deriveFont(float size)
public abstract int getOffsetForPosition(String str, float x)
public abstract WCGlyphBuffer getGlyphsAndAdvances(String str, int from, int to, boolean rtl)
public abstract int[] getGlyphCodes(char[] chars)
public abstract float getXHeight()
public abstract double getGlyphWidth(int glyph)
public abstract float[] getGlyphBoundingBox(int glyph)
public abstract double[] getStringBounds(String str, int from, int to, boolean rtl)
public abstract double getStringWidth(String str)
public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
Hashtablepublic boolean equals(Object object)
public abstract float getAscent()
public abstract float getDescent()
public abstract float getLineSpacing()
public abstract float getLineGap()
public abstract boolean hasUniformLineMetrics()
public abstract float getCapHeight()
Copyright © 2025. All rights reserved.