Glyph constructor

const Glyph({
  1. Key? key,
  2. required double x,
  3. required double y,
  4. double size = 8,
  5. Color color = const Color(0xFF000000),
  6. Color? strokeColor,
  7. double strokeWidth = 1.0,
  8. double rotation = 0,
  9. double opacity = 1.0,
})

Creates a glyph.

Implementation

const Glyph({
  super.key,
  required this.x,
  required this.y,
  this.size = 8,
  this.color = const Color(0xFF000000),
  this.strokeColor,
  this.strokeWidth = 1.0,
  this.rotation = 0,
  this.opacity = 1.0,
});