ColorSpace.Connect Method
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 |
|---|---|
| Connect(ColorSpace, ColorSpace+RenderIntent) |
Connects the specified color spaces to sRGB. |
| Connect(ColorSpace, ColorSpace, ColorSpace+RenderIntent) |
Connects the specified color spaces to sRGB. |
| Connect(ColorSpace) |
Connects the specified color spaces to sRGB. |
| Connect(ColorSpace, ColorSpace) |
Connects the specified color spaces to sRGB. |
Connect(ColorSpace, ColorSpace+RenderIntent)
Connects the specified color spaces to sRGB.
[Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace$RenderIntent;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)]
public static Android.Graphics.ColorSpace.Connector Connect(Android.Graphics.ColorSpace source, Android.Graphics.ColorSpace.RenderIntent intent);
[<Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace$RenderIntent;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)>]
static member Connect : Android.Graphics.ColorSpace * Android.Graphics.ColorSpace.RenderIntent -> Android.Graphics.ColorSpace.Connector
Parameters
- source
- ColorSpace
The color space to convert colors from
- intent
- ColorSpace.RenderIntent
The render intent to map colors from the source to the destination. This value cannot be null.
Returns
A non-null connector between the specified color space and sRGB
- Attributes
Remarks
Connects the specified color spaces to sRGB. If the source color space does not use CIE XYZ D65 as its profile connection space, the two spaces are chromatically adapted to use the CIE standard illuminant D50 as needed.
If the source is the sRGB color space, an optimized connector is returned to avoid unnecessary computations and loss of precision.
Android reference for android.graphics.ColorSpace.connect.
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
Connect(ColorSpace, ColorSpace, ColorSpace+RenderIntent)
Connects the specified color spaces to sRGB.
[Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace$RenderIntent;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)]
public static Android.Graphics.ColorSpace.Connector Connect(Android.Graphics.ColorSpace source, Android.Graphics.ColorSpace destination, Android.Graphics.ColorSpace.RenderIntent intent);
[<Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace$RenderIntent;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)>]
static member Connect : Android.Graphics.ColorSpace * Android.Graphics.ColorSpace * Android.Graphics.ColorSpace.RenderIntent -> Android.Graphics.ColorSpace.Connector
Parameters
- source
- ColorSpace
The color space to convert colors from
- destination
- ColorSpace
The color space to convert colors to. This value cannot be null.
- intent
- ColorSpace.RenderIntent
The render intent to map colors from the source to the destination. This value cannot be null.
Returns
A non-null connector between the specified color space and sRGB
- Attributes
Remarks
Connects two color spaces to allow conversion from the source color space to the destination color space. If the source and destination color spaces do not have the same profile connection space (CIE XYZ with the same white point), they are chromatically adapted to use the CIE standard illuminant D50 as needed.
If the source and destination are the same, an optimized connector is returned to avoid unnecessary computations and loss of precision.
Android reference for android.graphics.ColorSpace.connect.
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
Connect(ColorSpace)
Connects the specified color spaces to sRGB.
[Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)]
public static Android.Graphics.ColorSpace.Connector Connect(Android.Graphics.ColorSpace source);
[<Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)>]
static member Connect : Android.Graphics.ColorSpace -> Android.Graphics.ColorSpace.Connector
Parameters
- source
- ColorSpace
The color space to convert colors from
Returns
A non-null connector between the specified color space and sRGB
- Attributes
Remarks
Java documentation for android.graphics.ColorSpace.connect(android.graphics.ColorSpace).
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
Connect(ColorSpace, ColorSpace)
Connects the specified color spaces to sRGB.
[Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)]
public static Android.Graphics.ColorSpace.Connector Connect(Android.Graphics.ColorSpace source, Android.Graphics.ColorSpace destination);
[<Android.Runtime.Register("connect", "(Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace;)Landroid/graphics/ColorSpace$Connector;", "", ApiSince=26)>]
static member Connect : Android.Graphics.ColorSpace * Android.Graphics.ColorSpace -> Android.Graphics.ColorSpace.Connector
Parameters
- source
- ColorSpace
The color space to convert colors from
- destination
- ColorSpace
The color space to convert colors to. This value cannot be null.
Returns
A non-null connector between the specified color space and sRGB
- Attributes
Remarks
Connects two color spaces to allow conversion from the source color space to the destination color space. If the source and destination color spaces do not have the same profile connection space (CIE XYZ with the same white point), they are chromatically adapted to use the CIE standard illuminant D50 as needed.
If the source and destination are the same, an optimized connector is returned to avoid unnecessary computations and loss of precision.
Colors are mapped from the source color space to the destination color space using the perceptual render intent.
Android reference for android.graphics.ColorSpace.connect.
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.