painterWithDrawingZoneAndBaseImageSizeSet function

VectorImagePainter painterWithDrawingZoneAndBaseImageSizeSet(
  1. VectorImagePainter originPainter,
  2. double baseImageSize
)

Returns an equivalent VectorImagePainter but also setting size of its image.

Implementation

VectorImagePainter painterWithDrawingZoneAndBaseImageSizeSet(
    VectorImagePainter originPainter, double baseImageSize) {
  return VectorImagePainter(
    vectorDefinition: originPainter.vectorDefinition,
    baseImageSize: baseImageSize,
  );
}