Skip to main content

Class PixelFormatConverter

Namespace: Aurigma.DesignAtoms.GmConverters​
Assembly: Aurigma.DesignAtoms.dll​
Syntax
public static class PixelFormatConverter

Inheritance: System.Object -> PixelFormatConverter

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

Methods​

ToGm​

public static PixelFormat ToGm(this PixelFormat source)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatsource
Returns​

Aurigma.GraphicsMill.PixelFormat

ToModel​

public static PixelFormat ToModel(this PixelFormat source)
Parameters​
TypeNameDescription
Aurigma.GraphicsMill.PixelFormatsource
Returns​

Aurigma.DesignAtoms.Model.Color.PixelFormat

GetColorSpace​

public static ColorSpace GetColorSpace(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

Aurigma.DesignAtoms.Model.Color.ColorSpace

IsRgb​

public static bool IsRgb(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

System.Boolean

IsCmyk​

public static bool IsCmyk(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

System.Boolean

IsGrayscale​

public static bool IsGrayscale(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

System.Boolean

IsIndexed​

public static bool IsIndexed(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

System.Boolean

HasAlpha​

public static bool HasAlpha(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

System.Boolean

AddAlpha​

public static PixelFormat AddAlpha(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

Aurigma.DesignAtoms.Model.Color.PixelFormat

DiscardAlpha​

public static PixelFormat DiscardAlpha(this PixelFormat pixelFormat)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.PixelFormatpixelFormat
Returns​

Aurigma.DesignAtoms.Model.Color.PixelFormat

Was this page helpful?