ShapeEntity constructor

ShapeEntity({
  1. required SVGAShapeType type,
  2. SVGAVectorPath? outline,
  3. double x = 0,
  4. double y = 0,
  5. double width = 0,
  6. double height = 0,
  7. double cornerRadius = 0,
  8. SVGAShapeStyle? style,
  9. SVGATransform? transform,
})

Implementation

ShapeEntity({
  required this.type,
  this.outline,
  this.x = 0,
  this.y = 0,
  this.width = 0,
  this.height = 0,
  this.cornerRadius = 0,
  this.style,
  this.transform,
});