Dela via


Canvas.DisableZ Method

Definition

Disables Z support, preventing any RenderNodes drawn after this point from being visually reordered or having shadows rendered.

[Android.Runtime.Register("disableZ", "()V", "GetDisableZHandler", ApiSince=29)]
public virtual void DisableZ ();
[<Android.Runtime.Register("disableZ", "()V", "GetDisableZHandler", ApiSince=29)>]
abstract member DisableZ : unit -> unit
override this.DisableZ : unit -> unit
Attributes

Remarks

Disables Z support, preventing any RenderNodes drawn after this point from being visually reordered or having shadows rendered.

Note: This is not impacted by any #save() or #restore() calls as it is not considered to be part of the current matrix or clip.

See #enableZ()

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

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