主题
Transform
Configuration for transform.
Applies a generic matrix transform backed by recorded Matrix4.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
matrix | Matrix4 | required | Matrix transform intent recorded in Python and replayed in Flutter. |
origin | Optional['Offset'] | None | The origin of the coordinate system (relative to the upper left corner). |
alignment | Optional[Alignment] | None | The alignment of the origin, relative to the size of the box. |
transform_hit_tests | bool | True | Whether to apply the transformation when performing hit tests. |
filter_quality | Optional['FilterQuality'] | None | The filter quality with which to apply this transform as a bitmap operation. |