MCPcopy Create free account
hub / github.com/coldtype/st2 / variations

Method variations

ST2/properties.py:473–477  ·  view source on GitHub ↗
(self, font)

Source from the content-addressed store, hash-verified

471 return variations
472
473 def variations(self, font):
474 variations = {}
475 for idx, (k, _) in enumerate(self.visible_variation_axes(font).items()):
476 variations[k] = getattr(self, f"fvar_axis{idx+1}")
477 return variations
478
479 def update_to_variation_defaults(self):
480 font = self.font()

Callers 2

build_single_styleMethod · 0.80

Calls 1

Tested by

no test coverage detected