width property Null safety

int width
final

画布中的宽度。

取值范围为 0~1920,若设置为奇数值,会自动向下取偶。

Implementation

final int width;