MCPcopy Create free account
hub / github.com/tdewolff/canvas / SetVariations

Method SetVariations

font.go:323–326  ·  view source on GitHub ↗

SetVariations sets the font variations (not yet supported).

(variations string)

Source from the content-addressed store, hash-verified

321
322// SetVariations sets the font variations (not yet supported).
323func (f *Font) SetVariations(variations string) {
324 // TODO: support font variations
325 f.variations = variations
326}
327
328// SetFeatures sets the font features (not yet supported).
329func (f *Font) SetFeatures(features string) {

Callers 1

SetVariationsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected