Class: Fontisan::Tables::Colr::BaseGlyphRecord
- Inherits:
-
Binary::BaseRecord
- Object
- BinData::Record
- Binary::BaseRecord
- Fontisan::Tables::Colr::BaseGlyphRecord
- Defined in:
- lib/fontisan/tables/colr.rb
Overview
Base Glyph Record structure for COLR table
Each base glyph record associates a glyph ID with its color layers. Structure (6 bytes): glyph_id, first_layer_index, num_layers
Instance Method Summary collapse
Methods inherited from Binary::BaseRecord
Instance Method Details
#has_layers? ⇒ Boolean
53 54 55 |
# File 'lib/fontisan/tables/colr.rb', line 53 def has_layers? num_layers.positive? end |