ColorSpace.Get(ColorSpace+Named) 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.
Returns an instance of ColorSpace whose ID matches the
specified ID.
[Android.Runtime.Register("get", "(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;", "", ApiSince=26)]
public static Android.Graphics.ColorSpace Get(Android.Graphics.ColorSpace.Named name);
[<Android.Runtime.Register("get", "(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;", "", ApiSince=26)>]
static member Get : Android.Graphics.ColorSpace.Named -> Android.Graphics.ColorSpace
Parameters
- name
- ColorSpace.Named
The name of the color space to get an instance of. This value cannot be null.
Returns
A non-null ColorSpace instance
- Attributes
Remarks
Returns an instance of ColorSpace identified by the specified name. The list of names provided in the Named enum gives access to a variety of common RGB color spaces.
This method always returns the same instance for a given name.
This method is thread-safe.
Android reference for android.graphics.ColorSpace.get.
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.