public class Info
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Bitmap[] |
bitmaps |
int |
bitstream_version_major |
int |
bitstream_version_minor |
java.lang.String |
category |
Curve[] |
curves |
com.fluendo.jkate.FontMapping[] |
font_mappings |
FontRange[] |
font_ranges |
int |
gps_denominator |
int |
gps_numerator |
int |
granule_shift |
java.lang.String |
language |
KateMarkupType |
markup_type |
Motion[] |
motions |
int |
num_headers |
int |
original_canvas_height |
int |
original_canvas_width |
Palette[] |
palettes |
Region[] |
regions |
Style[] |
styles |
KateTextDirectionality |
text_directionality |
KateTextEncoding |
text_encoding |
Constructor and Description |
---|
Info() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets the header decoder to the start, so a new stream may be decoded.
|
int |
decodeHeader(Comment kc,
com.jcraft.jogg.Packet op)
Decodes a Kate header, updating the info with the data decoded from the header.
|
Bitmap |
unpackBitmap(com.jcraft.jogg.Buffer opb)
Decode a single bitmap.
|
Motion |
unpackMotion(com.jcraft.jogg.Buffer opb)
Decode a single motion.
|
Palette |
unpackPalette(com.jcraft.jogg.Buffer opb)
Decode a single palette.
|
Region |
unpackRegion(com.jcraft.jogg.Buffer opb)
Decode a single region.
|
Style |
unpackStyle(com.jcraft.jogg.Buffer opb)
Decode a single style.
|
public int bitstream_version_major
public int bitstream_version_minor
public KateTextEncoding text_encoding
public KateTextDirectionality text_directionality
public int num_headers
public int granule_shift
public int gps_numerator
public int gps_denominator
public java.lang.String language
public java.lang.String category
public Region[] regions
public Style[] styles
public Curve[] curves
public Motion[] motions
public Palette[] palettes
public Bitmap[] bitmaps
public FontRange[] font_ranges
public com.fluendo.jkate.FontMapping[] font_mappings
public KateMarkupType markup_type
public int original_canvas_width
public int original_canvas_height
public Region unpackRegion(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
com.fluendo.jkate.KateException
public Style unpackStyle(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
com.fluendo.jkate.KateException
public Motion unpackMotion(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
com.fluendo.jkate.KateException
public Palette unpackPalette(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
com.fluendo.jkate.KateException
public Bitmap unpackBitmap(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
com.fluendo.jkate.KateException
public void clear()
public int decodeHeader(Comment kc, com.jcraft.jogg.Packet op)