Picture.RequiresHardwareAcceleration Method

Definition

Indicates whether or not this Picture contains recorded commands that only work when drawn to a hardware-accelerated canvas.

[Android.Runtime.Register("requiresHardwareAcceleration", "()Z", "GetRequiresHardwareAccelerationHandler", ApiSince=28)]
public virtual bool RequiresHardwareAcceleration ();
[<Android.Runtime.Register("requiresHardwareAcceleration", "()Z", "GetRequiresHardwareAccelerationHandler", ApiSince=28)>]
abstract member RequiresHardwareAcceleration : unit -> bool
override this.RequiresHardwareAcceleration : unit -> bool

Returns

Boolean

true if the Picture can only be drawn to a hardware-accelerated canvas, false otherwise.

Attributes

Remarks

Java documentation for android.graphics.Picture.requiresHardwareAcceleration().

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