SmuflMetadata class
Methods
clearCache ()
→ void
Limpa o cache de glifos
getAllEngravingDefaults ()
→ Map <String , double >
New: Gets all os engraving defaults
getAllGlyphNames ()
→ List <String >
Gets all os glyph names disponíveis
getCodepoint (String glyphName )
→ String
getEngravingDefault (String key , [double fallback = 0.0 ])
→ double
getEngravingDefaultValue (String key )
→ double ?
New: Gets a engraving default específico
@param key Parameter name (ex: 'stemThickness', 'beamThickness')
@return Value in staff spaces
getGlyphAdvanceWidth (String glyphName )
→ double ?
New: Gets advance width de a glyph in staff spaces
getGlyphAnchor (String glyphName , String anchorName )
→ Offset ?
New: Gets a anchor específico de a glyph
@param glyphName SMuFL glyph name
@param anchorName Anchor name (ex: 'stemUpSE', 'stemDownNW')
@return Offset in staff spaces, or null if not encontrado
getGlyphAnchors (String glyphName )
→ GlyphAnchors?
Gets anchors de a glifo
getGlyphBBox (String glyphName )
→ Map <String , List <double > > ?
getGlyphBoundingBox (String glyphName )
→ GlyphBoundingBox?
Gets bounding box de a glifo as object
getGlyphClasses ()
→ Map <String , List <String > > ?
Gets informações de classs de glifos (if disponível nos metadados)
getGlyphHeight (String glyphName )
→ double
Gets height de a glifo in SMuFL units
getGlyphHeightInPixels (String glyphName , double staffSpace )
→ double
Gets height de a glifo in pixels
getGlyphInfo (String glyphName )
→ SmuflGlyphInfo?
Returns complete information for a glyph, including bounding box and anchors
getGlyphsByCategory (String category )
→ List <String >
Gets glifos by categoria
getGlyphWidth (String glyphName )
→ double
Gets width de a glifo in SMuFL units
Uses advance width if disponível, senão Uses bounding box width
getGlyphWidthInPixels (String glyphName , double staffSpace )
→ double
Gets width de a glifo in pixels
getStylisticSets ()
→ Map <String , dynamic > ?
Gets conjuntos estilísticos (if disponível nos metadados)
hasGlyph (String glyphName )
→ bool
Checks if a glifo existe na fonte
load ({SmuflFontDescriptor ? font })
→ Future <void >
Loads (once) the SMuFL metadata for font, or for this instance's font.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchGlyphs (String pattern )
→ List <String >
Finds glifos by default
toString ()
→ String
A string representation of this object.
inherited