目录

Image_Scale

typedef struct Image_Scale {...} Image_Scale

Overview

The struct describes the image scale factor.

Since: 22

Related module: Image_NativeModule

Header file: image_common.h

Summary

[h2]Member Variables

Name Description
float x

Scale factor of the width.

The value cannot be 0. A positive value is recommended; otherwise, a flip effect occurs.

float y

Scale factor of the height.

The value cannot be 0. A positive value is recommended; otherwise, a flip effect occurs.