Interface: RescaleProportionalToWidthOptions
An interface for rescaling the node based on a given width when using Node.resize.
Extends
Properties
Property
Type
Description
Inherited from
avoidScalingVisualDetailsIfPossiblebooleanWhether to try to avoid scaling the content's visual styling (e.g. stroke width, corner detailing, etc.). Note that some kinds of content may not be able to avoid rescaling in some scenarios.
widthnumber-
-
height?undefinedInstead of providing a height, it will be calculated by multiplying the given width by the current aspect ratio.
-