svg method

String svg({
  1. int width = 1024,
  2. int height = 1024,
  3. Map<Color, String> colors = const <Color, String>{},
  4. List<Rotation> orientation = const [],
})

Generates an SVG image of the Cube.

Implementation

String svg({
  int width = 1024,
  int height = 1024,
  Map<Color, String> colors = const <Color, String>{},
  List<Rotation> orientation = const [],
}) {
  return _svg(
    this.colors,
    width: width,
    height: height,
    colors: colors,
    orientation: orientation,
  );
}