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