Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class GmColorConverter

Namespace: Aurigma.DesignAtoms.ColorManagement

Assembly: Aurigma.DesignAtoms.dll

Syntax
public class GmColorConverter : IGmColorConverter

Inheritance: System.Object -> GmColorConverter

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​

GmColorConverter​

public GmColorConverter()

Methods​

FromGmColor​

public Color FromGmColor(Color color)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.Colorcolor

Returns​

Aurigma.DesignAtoms.Model.Color.Color

ToGmColor​

public Color ToGmColor(Color color, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Color.Colorcolor
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

Aurigma.GraphicsMill.Color

FromGmRgbColor​

public RgbColor FromGmRgbColor(RgbColor rgb)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.RgbColorrgb

Returns​

Aurigma.DesignAtoms.Model.Color.RgbColor

FromGmCmykColor​

public CmykColor FromGmCmykColor(CmykColor cmyk)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.CmykColorcmyk

Returns​

Aurigma.DesignAtoms.Model.Color.CmykColor

FromGmLabColor​

public LabColor FromGmLabColor(LabColor lab)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.LabColorlab

Returns​

Aurigma.DesignAtoms.Model.Color.LabColor

FromGmGrayscaleColor​

public GrayscaleColor FromGmGrayscaleColor(GrayscaleColor grayscale)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.GrayscaleColorgrayscale

Returns​

Aurigma.DesignAtoms.Model.Color.GrayscaleColor

FromGmSpotColor​

public SpotColor FromGmSpotColor(SpotColor spot)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.SpotColorspot

Returns​

Aurigma.DesignAtoms.Model.Color.SpotColor

ToGmRgbColor​

public RgbColor ToGmRgbColor(RgbColor rgb, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Color.RgbColorrgb
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

Aurigma.GraphicsMill.RgbColor

ToGmCmykColor​

public CmykColor ToGmCmykColor(CmykColor cmyk, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Color.CmykColorcmyk
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

Aurigma.GraphicsMill.CmykColor

ToGmGrayscaleColor​

public GrayscaleColor ToGmGrayscaleColor(GrayscaleColor grayscale, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Color.GrayscaleColorgrayscale
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

Aurigma.GraphicsMill.GrayscaleColor

ToGmLabColor​

public LabColor ToGmLabColor(LabColor lab, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Color.LabColorlab
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

Aurigma.GraphicsMill.LabColor

ToGmSpotColor​

public SpotColor ToGmSpotColor(SpotColor spot, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Model.Color.SpotColorspot
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

Aurigma.GraphicsMill.SpotColor

Was this page helpful?