ColorGlyphLayer constructor
ColorGlyphLayer({
- RawPath? path,
- ColorGlyphPaintType paintType = ColorGlyphPaintType.solid,
- int color = 0xFF000000,
- bool useForeground = false,
- List<
GradientStop> stops = const [], - double x0 = 0,
- double y0 = 0,
- double x1 = 0,
- double y1 = 0,
- double r0 = 0,
- double r1 = 0,
- double startAngle = 0,
- double endAngle = 0,
- Uint8List? imageBytes,
- int imageWidth = 0,
- int imageHeight = 0,
- double imageBearingX = 0,
- double imageBearingY = 0,
- double imageExtentX = 0,
- 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,
});