Skip to main content

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.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors​

ColorPreviewCache​

public ColorPreviewCache(IMemoryCachingService memoryCachingService)

Methods​

GetColorPreview​

public RgbColor GetColorPreview(string profileId, Color color, ColorProfile targetDevice)
Parameters​
TypeNameDescription
System.StringprofileId
Aurigma.GraphicsMill.Colorcolor
Aurigma.GraphicsMill.ColorProfiletargetDevice
Returns​

Aurigma.GraphicsMill.RgbColor

AddColorPreview​

public void AddColorPreview(string profileId, Color color, ColorProfile targetDevice, RgbColor colorPreview)
Parameters​
TypeNameDescription
System.StringprofileId
Aurigma.GraphicsMill.Colorcolor
Aurigma.GraphicsMill.ColorProfiletargetDevice
Aurigma.GraphicsMill.RgbColorcolorPreview
Was this page helpful?