getFigureGenerators static method

Map<String, Object> getFigureGenerators()

This static function returns a read-only Map of named geometry generators. The keys are figure names. The values are either string synonyms for other figure names, or functions that take a Shape and a width and a height and return a Geometry.

The predefined shape figures can be seen in the Shapes sample.

Implementation

static _i3.Map<_i2.String, _i2.Object> getFigureGenerators() =>
    _i4.callMethod(
      _declaredShape,
      'getFigureGenerators',
      [],
    );