AvoidXfermode Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
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.