Class ColorProfilesPreloader
Namespace: Aurigma.DesignAtoms.ColorManagement
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ColorProfilesPreloader : IColorProfilesProvider
Inheritance: System.Object -> ColorProfilesPreloader
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Properties
Empty
public static IColorProfilesProvider Empty { get; }
Methods
LoadProfileOf
public static Task<IColorProfilesProvider> LoadProfileOf(IColorProfileManager colorProfileManager, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager | colorProfileManager | |
| Aurigma.DesignAtoms.Model.Color.Color | color |
Returns
System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>
LoadProfilesOf
public static Task<IColorProfilesProvider> LoadProfilesOf(IColorProfileManager colorProfileManager, IEnumerable<Color> colors)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager | colorProfileManager | |
System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Model.Color.Color> | colors |
Returns
System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>
LoadProfile
public static Task<IColorProfilesProvider> LoadProfile(IColorProfileManager colorProfileManager, string profileDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager | colorProfileManager | |
System.String | profileDescription |
Returns
System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>
LoadProfiles
public static Task<IColorProfilesProvider> LoadProfiles(IColorProfileManager colorProfileManager, IEnumerable<string> profileDescriptions)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager | colorProfileManager | |
System.Collections.Generic.IEnumerable<System.String> | profileDescriptions |
Returns
System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>
From
public static IColorProfilesProvider From(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Color | color |
Returns
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider
GetColorProfileOrDefault
public ColorProfile GetColorProfileOrDefault(string profileDescription)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | profileDescription |
Returns
Aurigma.GraphicsMill.ColorProfile