Type Alias read_fonts::tables::colr::LayerList
source · pub type LayerList<'a> = TableRef<'a, LayerListMarker>;
Expand description
LayerList table
Aliased Type§
struct LayerList<'a> { /* private fields */ }
Implementations§
source§impl<'a> LayerList<'a>
impl<'a> LayerList<'a>
pub fn num_layers(&self) -> u32
sourcepub fn paint_offsets(&self) -> &'a [BigEndian<Offset32>]
pub fn paint_offsets(&self) -> &'a [BigEndian<Offset32>]
Offsets to Paint tables.
sourcepub fn paints(&self) -> ArrayOfOffsets<'a, Paint<'a>, Offset32>
pub fn paints(&self) -> ArrayOfOffsets<'a, Paint<'a>, Offset32>
A dynamically resolving wrapper for paint_offsets
.