Skip to content

format

typescript
Image.preserveAspect

class: Image

description

Whether to maintain the aspect ratio of the image.

parameter

param_nametypedescription

reture

typedescription
booleanWhether to maintain the aspect ratio of the image.

code example