共用方式為


Window.SetClipToOutline(Boolean) Method

Definition

Sets whether window content should be clipped to the outline of the window background.

[Android.Runtime.Register("setClipToOutline", "(Z)V", "GetSetClipToOutline_ZHandler", ApiSince=22)]
public virtual void SetClipToOutline (bool clipToOutline);
[<Android.Runtime.Register("setClipToOutline", "(Z)V", "GetSetClipToOutline_ZHandler", ApiSince=22)>]
abstract member SetClipToOutline : bool -> unit
override this.SetClipToOutline : bool -> unit

Parameters

clipToOutline
Boolean

Whether window content should be clipped to the outline of the window background.

Attributes

Remarks

Sets whether window content should be clipped to the outline of the window background.

Java documentation for android.view.Window.setClipToOutline(boolean).

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