Type Alias read_fonts::tables::variations::VariationRegionList
source · pub type VariationRegionList<'a> = TableRef<'a, VariationRegionListMarker>;
Expand description
The VariationRegionList table
Aliased Type§
struct VariationRegionList<'a> { /* private fields */ }
Implementations§
source§impl<'a> VariationRegionList<'a>
impl<'a> VariationRegionList<'a>
sourcepub fn axis_count(&self) -> u16
pub fn axis_count(&self) -> u16
The number of variation axes for this font. This must be the same number as axisCount in the ‘fvar’ table.
sourcepub fn region_count(&self) -> u16
pub fn region_count(&self) -> u16
The number of variation region tables in the variation region list. Must be less than 32,768.
sourcepub fn variation_regions(&self) -> ComputedArray<'a, VariationRegion<'a>>
pub fn variation_regions(&self) -> ComputedArray<'a, VariationRegion<'a>>
Array of variation regions.