diff --git a/lib/ui/compositing.dart b/lib/ui/compositing.dart index 2371bbb95d4981fc74c7ec4ec1d0e75f1620686a..d27533c76af4a9703c243cbcf012508f08753a66 100644 --- a/lib/ui/compositing.dart +++ b/lib/ui/compositing.dart @@ -77,7 +77,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 { double right, double top, double bottom, - int clipMode) native 'SceneBuilder_pushClipRect'; + int clipBehavior) native 'SceneBuilder_pushClipRect'; /// Pushes a rounded-rectangular clip operation onto the operation stack. /// @@ -90,7 +90,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 { assert(clipBehavior != Clip.none); _pushClipRRect(rrect._value, clipBehavior.index); } - void _pushClipRRect(Float32List rrect, int clipMode) native 'SceneBuilder_pushClipRRect'; + void _pushClipRRect(Float32List rrect, int clipBehavior) native 'SceneBuilder_pushClipRRect'; /// Pushes a path clip operation onto the operation stack. /// @@ -103,7 +103,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 { assert(clipBehavior != Clip.none); _pushClipPath(path, clipBehavior.index); } - void _pushClipPath(Path path, int clipMode) native 'SceneBuilder_pushClipPath'; + void _pushClipPath(Path path, int clipBehavior) native 'SceneBuilder_pushClipPath'; /// Pushes an opacity operation onto the operation stack. /// @@ -171,7 +171,7 @@ class SceneBuilder extends NativeFieldWrapperClass2 { void pushPhysicalShape({ Path path, double elevation, Color color, Color shadowColor, Clip clipBehavior = defaultClipBehavior}) { _pushPhysicalShape(path, elevation, color.value, shadowColor?.value ?? 0xFF000000, clipBehavior.index); } - void _pushPhysicalShape(Path path, double elevation, int color, int shadowColor, int clipMode) native + void _pushPhysicalShape(Path path, double elevation, int color, int shadowColor, int clipBehavior) native 'SceneBuilder_pushPhysicalShape'; /// Ends the effect of the most recently pushed operation.