enum VectorGraphicsRasterizationScaling

Determines how to scale path canvas when rasterizing for a particular size.

Values

NameValueDescription
StretchToFit 0 Canvas will stretch non-uniformly in both dimensions in order to cover the raster area fully.
ScaleToFit 1 Canvas will scale uniformly until one dimension is aligned with the raster area.
CropToFit 2 Canvas will scale uniformly until both dimensions are larger or aligned with the raster area.
None 3 Do not perform any scaling.