ColorMatrixColorFilter 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
ColorMatrixColorFilter(ColorMatrix) |
Create a color filter that transforms colors through a 4x5 color matrix. |
ColorMatrixColorFilter(Single[]) |
Create a color filter that transforms colors through a 4x5 color matrix. |
ColorMatrixColorFilter(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
ColorMatrixColorFilter(ColorMatrix)
Create a color filter that transforms colors through a 4x5 color matrix.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/ColorMatrix;)V", "")]
public ColorMatrixColorFilter (Android.Graphics.ColorMatrix matrix);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/ColorMatrix;)V", "")>]
new Android.Graphics.ColorMatrixColorFilter : Android.Graphics.ColorMatrix -> Android.Graphics.ColorMatrixColorFilter
Parameters
- matrix
- ColorMatrix
4x5 matrix used to transform colors. It is copied into the filter, so changes made to the matrix after the filter is constructed will not be reflected in the filter.
- Attributes
Remarks
Create a color filter that transforms colors through a 4x5 color matrix.
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
ColorMatrixColorFilter(Single[])
Create a color filter that transforms colors through a 4x5 color matrix.
[Android.Runtime.Register(".ctor", "([F)V", "")]
public ColorMatrixColorFilter (float[] array);
[<Android.Runtime.Register(".ctor", "([F)V", "")>]
new Android.Graphics.ColorMatrixColorFilter : single[] -> Android.Graphics.ColorMatrixColorFilter
Parameters
- array
- Single[]
Array of floats used to transform colors, treated as a 4x5 matrix. The first 20 entries of the array are copied into the filter. See ColorMatrix.
- Attributes
Remarks
Create a color filter that transforms colors through a 4x5 color matrix.
Java documentation for android.graphics.ColorMatrixColorFilter.ColorMatrixColorFilter(float[])
.
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
ColorMatrixColorFilter(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ColorMatrixColorFilter (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.ColorMatrixColorFilter : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.ColorMatrixColorFilter
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.