scaleToWidth method

FabricObject scaleToWidth(
  1. num value, [
  2. bool absolute
])

Scales an object to a given width, with respect to bounding box (scaling by x/y equally)

Implementation

external FabricObject scaleToWidth(num value, [bool absolute]);