共用方式為


AvoidXfermode Constructors

Definition

Overloads

AvoidXfermode(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AvoidXfermode(Color, Int32, AvoidXfermode+Mode)

This xfermode draws, or doesn't draw, based on the destination's distance from an op-color.

AvoidXfermode(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AvoidXfermode (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.AvoidXfermode : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.AvoidXfermode

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

AvoidXfermode(Color, Int32, AvoidXfermode+Mode)

This xfermode draws, or doesn't draw, based on the destination's distance from an op-color.

[Android.Runtime.Register(".ctor", "(IILandroid/graphics/AvoidXfermode$Mode;)V", "")]
public AvoidXfermode (Android.Graphics.Color opColor, int tolerance, Android.Graphics.AvoidXfermode.Mode? mode);
[<Android.Runtime.Register(".ctor", "(IILandroid/graphics/AvoidXfermode$Mode;)V", "")>]
new Android.Graphics.AvoidXfermode : Android.Graphics.Color * int * Android.Graphics.AvoidXfermode.Mode -> Android.Graphics.AvoidXfermode

Parameters

opColor
Color
tolerance
Int32
Attributes

Remarks

Java documentation for android.graphics.AvoidXfermode.AvoidXfermode(int, int, android.graphics.Mode).

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