public class Font
extends java.lang.Object
Constructor and Description |
---|
Font(java.lang.String path)
Used to create font by specified path.
|
Font(java.lang.String path,
java.nio.ByteBuffer data)
Used to create font with specified path and data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.nio.ByteBuffer |
getData()
Returns font data.
|
java.lang.String |
getPath()
Returns font path.
|
int |
hashCode() |
public Font(java.lang.String path)
path
- path to font data.public Font(java.lang.String path, java.nio.ByteBuffer data)
path
- path to font.data
- font data.public java.nio.ByteBuffer getData()
public java.lang.String getPath()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object