ImageMarker constructor

ImageMarker({
  1. Header? header,
  2. String ns = '',
  3. int id = 0,
  4. int type = 0,
  5. int action = 0,
  6. Point? position,
  7. double scale = 0,
  8. ColorRGBA? outlineColor,
  9. int filled = 0,
  10. ColorRGBA? fillColor,
  11. RosDuration? lifetime,
  12. List<Point> points = const [],
  13. List<ColorRGBA> outlineColors = const [],
})

Implementation

ImageMarker({
  ros2.Header? header,
  this.ns = '',
  this.id = 0,
  this.type = 0,
  this.action = 0,
  ros2.Point? position,
  this.scale = 0,
  ros2.ColorRGBA? outlineColor,
  this.filled = 0,
  ros2.ColorRGBA? fillColor,
  ros2.RosDuration? lifetime,
  this.points = const [],
  this.outlineColors = const [],
})  : header = header ?? ros2.Header(),
      position = position ?? ros2.Point(),
      outlineColor = outlineColor ?? ros2.ColorRGBA(),
      fillColor = fillColor ?? ros2.ColorRGBA(),
      lifetime = lifetime ?? ros2.RosDuration();