Language

AvoidXfermode Constructors

Definition

Overloads

Name Description
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

The historical reference color; the Android 16 constructor does not use this argument.

tolerance
Int32

A value from zero to 255. The Android 16 constructor checks this range but creates no avoidance operation.

mode
AvoidXfermode.Mode

The historical mode argument; it is not read by the Android 16 constructor.

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