Skip to content

Transform

Configuration for transform.

Applies a generic matrix transform backed by recorded Matrix4.

属性 ​

名称类型默认值说明
matrixMatrix4requiredMatrix transform intent recorded in Python and replayed in Flutter.
originOptional['Offset']NoneThe origin of the coordinate system (relative to the upper left corner).
alignmentOptional[Alignment]NoneThe alignment of the origin, relative to the size of the box.
transform_hit_testsboolTrueWhether to apply the transformation when performing hit tests.
filter_qualityOptional['FilterQuality']NoneThe filter quality with which to apply this transform as a bitmap operation.

关注我,学习大模型、大数据、Python等热门技术。