共用方式為


ViewGroup.GatherTransparentRegion(Region) Method

Definition

This is used by the RootView to perform an optimization when the view hierarchy contains one or several SurfaceView.

[Android.Runtime.Register("gatherTransparentRegion", "(Landroid/graphics/Region;)Z", "GetGatherTransparentRegion_Landroid_graphics_Region_Handler")]
public override bool GatherTransparentRegion (Android.Graphics.Region? region);
[<Android.Runtime.Register("gatherTransparentRegion", "(Landroid/graphics/Region;)Z", "GetGatherTransparentRegion_Landroid_graphics_Region_Handler")>]
override this.GatherTransparentRegion : Android.Graphics.Region -> bool

Parameters

region
Region

The transparent region for this ViewAncestor (window).

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to