ColorGlyphLayer constructor

ColorGlyphLayer({
  1. RawPath? path,
  2. ColorGlyphPaintType paintType = ColorGlyphPaintType.solid,
  3. int color = 0xFF000000,
  4. bool useForeground = false,
  5. List<GradientStop> stops = const [],
  6. double x0 = 0,
  7. double y0 = 0,
  8. double x1 = 0,
  9. double y1 = 0,
  10. double r0 = 0,
  11. double r1 = 0,
  12. double startAngle = 0,
  13. double endAngle = 0,
  14. Uint8List? imageBytes,
  15. int imageWidth = 0,
  16. int imageHeight = 0,
  17. double imageBearingX = 0,
  18. double imageBearingY = 0,
  19. double imageExtentX = 0,
  20. double imageExtentY = 0,
})

Implementation

ColorGlyphLayer({
  this.path,
  this.paintType = ColorGlyphPaintType.solid,
  this.color = 0xFF000000,
  this.useForeground = false,
  this.stops = const [],
  this.x0 = 0,
  this.y0 = 0,
  this.x1 = 0,
  this.y1 = 0,
  this.r0 = 0,
  this.r1 = 0,
  this.startAngle = 0,
  this.endAngle = 0,
  this.imageBytes,
  this.imageWidth = 0,
  this.imageHeight = 0,
  this.imageBearingX = 0,
  this.imageBearingY = 0,
  this.imageExtentX = 0,
  this.imageExtentY = 0,
});