RenderTileMask constructor

RenderTileMask({
  1. required Gradient gradient,
  2. double? width,
  3. double? height,
  4. double x = 0,
  5. double y = 0,
  6. double dx = 0,
  7. double dy = 0,
  8. bool roundX = false,
  9. bool roundY = false,
  10. double? ratio,
  11. required double devicePixelRatio,
  12. TextDirection? textDirection,
})

Implementation

RenderTileMask({
  required Gradient gradient,
  double? width,
  double? height,
  double x = 0,
  double y = 0,
  double dx = 0,
  double dy = 0,
  bool roundX = false,
  bool roundY = false,
  double? ratio,
  required double devicePixelRatio,
  TextDirection? textDirection,
}) : _gradient = gradient,
     _ratio = ratio,
     _width = width,
     _height = height,
     _x = x,
     _y = y,
     _dx = dx,
     _dy = dy,
     _roundX = roundX,
     _roundY = roundY,
     _dpr = devicePixelRatio,
     _textDirection = textDirection;