Class ColorPreviewCache
Namespace: Aurigma.DesignAtoms.Common.Colors
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ColorPreviewCache : IColorPreviewCache
Inheritance: System.Object -> ColorPreviewCache
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
Constructors
ColorPreviewCache
public ColorPreviewCache(IMemoryCachingService memoryCachingService)
Methods
GetColorPreview
public RgbColor GetColorPreview(string profileId, Color color, ColorProfile targetDevice)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | profileId | |
Aurigma.GraphicsMill.Color | color | |
Aurigma.GraphicsMill.ColorProfile | targetDevice |
Returns
Aurigma.GraphicsMill.RgbColor
AddColorPreview
public void AddColorPreview(string profileId, Color color, ColorProfile targetDevice, RgbColor colorPreview)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | profileId | |
Aurigma.GraphicsMill.Color | color | |
Aurigma.GraphicsMill.ColorProfile | targetDevice | |
Aurigma.GraphicsMill.RgbColor | colorPreview |