public class FontEmbeddedData extends RecordAtom implements FontFacet
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getFontData() |
FontHeader |
getFontHeader() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
Returns the type (held as a little endian in bytes 3 and 4)
that this class handles
|
java.lang.String |
getTypeface() |
int |
getWeight() |
boolean |
isItalic() |
void |
setFontData(byte[] fontData) |
void |
writeOut(java.io.OutputStream out)
Have the contents printer out into an OutputStream, used when
writing a file back out to disk
(Normally, atom classes will keep their bytes around, but
non atom classes will just request the bytes from their
children, then chuck on their header and return)
|
getChildRecords, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianpublic long getRecordType()
RecordgetRecordType in class Recordpublic void writeOut(java.io.OutputStream out)
throws java.io.IOException
Recordpublic void setFontData(byte[] fontData)
public FontHeader getFontHeader()
public java.lang.String getTypeface()
public java.lang.Object getFontData()
getFontData in interface FontFacetpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord