ColorSpace.Rgb.TransferParameters 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 |
|---|---|
| ColorSpace.Rgb.TransferParameters(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| ColorSpace.Rgb.TransferParameters(Double, Double, Double, Double, Double) |
Defines the parameters for the ICC parametric curve type 3, as defined in ICC.1:2004-10, section 10.15. |
| ColorSpace.Rgb.TransferParameters(Double, Double, Double, Double, Double, Double, Double) |
Defines the parameters for the ICC parametric curve type 4, as defined in ICC.1:2004-10, section 10.15. |
ColorSpace.Rgb.TransferParameters(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected TransferParameters(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.ColorSpace.Rgb.TransferParameters : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.ColorSpace.Rgb.TransferParameters
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether and how to release the incoming JNI reference, and whether to register the managed peer.
Applies to
ColorSpace.Rgb.TransferParameters(Double, Double, Double, Double, Double)
Defines the parameters for the ICC parametric curve type 3, as defined in ICC.1:2004-10, section 10.15.
[Android.Runtime.Register(".ctor", "(DDDDD)V", "", ApiSince=26)]
public TransferParameters(double a, double b, double c, double d, double g);
[<Android.Runtime.Register(".ctor", "(DDDDD)V", "", ApiSince=26)>]
new Android.Graphics.ColorSpace.Rgb.TransferParameters : double * double * double * double * double -> Android.Graphics.ColorSpace.Rgb.TransferParameters
Parameters
- a
- Double
The input scale coefficient of the EOTF's power branch.
- b
- Double
The input offset of the EOTF's power branch.
- c
- Double
The slope of the EOTF's linear branch.
- d
- Double
The input threshold between the EOTF's branches.
- g
- Double
The exponent of the EOTF's power branch.
- Attributes
Remarks
Defines the parameters for the ICC parametric curve type 3, as defined in ICC.1:2004-10, section 10.15.
The EOTF is of the form:
\(\begin{equation} Y = \begin{cases}c X & X \lt d \\\ \left( a X + b \right) ^{g} & X \ge d \end{cases} \end{equation}\)
This constructor is equivalent to setting \(e\) and \(f\) to 0.
Android reference for android.graphics.ColorSpace.Rgb.TransferParameters.TransferParameters.
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
ColorSpace.Rgb.TransferParameters(Double, Double, Double, Double, Double, Double, Double)
Defines the parameters for the ICC parametric curve type 4, as defined in ICC.1:2004-10, section 10.15.
[Android.Runtime.Register(".ctor", "(DDDDDDD)V", "", ApiSince=26)]
public TransferParameters(double a, double b, double c, double d, double e, double f, double g);
[<Android.Runtime.Register(".ctor", "(DDDDDDD)V", "", ApiSince=26)>]
new Android.Graphics.ColorSpace.Rgb.TransferParameters : double * double * double * double * double * double * double -> Android.Graphics.ColorSpace.Rgb.TransferParameters
Parameters
- a
- Double
The input scale coefficient of the EOTF's power branch.
- b
- Double
The input offset of the EOTF's power branch.
- c
- Double
The slope of the EOTF's linear branch.
- d
- Double
The input threshold between the EOTF's branches.
- e
- Double
The output offset of the EOTF's power branch.
- f
- Double
The output offset of the EOTF's linear branch.
- g
- Double
The exponent of the EOTF's power branch.
- Attributes
Remarks
Defines the parameters for the ICC parametric curve type 4, as defined in ICC.1:2004-10, section 10.15.
The electro-optical transfer function is Y = c * X + f for X < d, and Y = (a * X + b)^g + e for X >= d.
Android reference for android.graphics.ColorSpace.Rgb.TransferParameters.TransferParameters.
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.