Class ColorPreviewService
Namespace: Aurigma.DesignAtoms.Services
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ColorPreviewService : IColorPreviewService
Inheritance: System.Object -> ColorPreviewService
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
ColorPreviewService
public ColorPreviewService(IGmColorConverter gmColorConverter, IColorManagement colorManagement, IMemoryCachingService memoryCachingService)
Methods
GetPreview
public RgbColor GetPreview(Color color, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Color.Color | color | |
| Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings | colorSettings | |
| Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider | profilesProvider |
Returns
Aurigma.DesignAtoms.Model.Color.RgbColor
GetPreview
public RgbColor GetPreview(Color color, IRenderingColorSettings colorSettings)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Color | color | |
| Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings | colorSettings |
Returns
Aurigma.GraphicsMill.RgbColor