Skip to main content

Flip

Configuration for flet.LayoutControl.flip.

Mirrors a control across its x and/or y axis.

Properties

  • filter_quality - The filter quality with which to apply this transform as a bitmap operation.
  • flip_x - Whether to flip the x axis.
  • flip_y - Whether to flip the y axis.
  • origin - The origin of the coordinate system (relative to the upper left corner).
  • transform_hit_tests - Whether to apply the transformation when performing hit tests.

Properties

filter_qualityclass-attributeinstance-attribute

filter_quality: Optional[FilterQuality] = None

The filter quality with which to apply this transform as a bitmap operation.

flip_xclass-attributeinstance-attribute

flip_x: bool = False

Whether to flip the x axis.

flip_yclass-attributeinstance-attribute

flip_y: bool = False

Whether to flip the y axis.

originclass-attributeinstance-attribute

origin: Optional[Offset] = None

The origin of the coordinate system (relative to the upper left corner).

transform_hit_testsclass-attributeinstance-attribute

transform_hit_tests: bool = True

Whether to apply the transformation when performing hit tests.