共用方式為


Canvas.IsOpaque Property

Definition

Return true if the device that the current layer draws into is opaque (that is, it does not support per-pixel alpha).

public virtual bool IsOpaque { [Android.Runtime.Register("isOpaque", "()Z", "GetIsOpaqueHandler")] get; }
[<get: Android.Runtime.Register("isOpaque", "()Z", "GetIsOpaqueHandler")>]
member this.IsOpaque : bool

Property Value

true if the device that the current layer draws into is opaque

Attributes

Remarks

Return true if the device that the current layer draws into is opaque (that is, it does not support per-pixel alpha).

Java documentation for android.graphics.Canvas.isOpaque().

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