RawColor.RawColor
Contents
[
Hide
]RawColor(ColorComponent[])
Initializes a new instance of the RawColor
class.
public RawColor(ColorComponent[] components)
Parameter | Type | Description |
---|---|---|
components | ColorComponent[] | The custom color components. |
See Also
- class ColorComponent
- class RawColor
- namespace Aspose.PSD.FileFormats.Psd.Core.RawColor
- assembly Aspose.PSD
RawColor(PixelDataFormat, short)
Initializes a new instance of the RawColor
class from pixel data format using predefined color modes
public RawColor(PixelDataFormat pixelDataFormat, short colorMode = 0)
Parameter | Type | Description |
---|---|---|
pixelDataFormat | PixelDataFormat | The pixel data format. |
colorMode | Int16 | Mode for the color to follow. |
Exceptions
exception | condition |
---|---|
ArgumentException | Channels count differs from PixelFormat, index of channels can not be obtained. Please create RawColor with Components’ Array argument |
See Also
- class PixelDataFormat
- class RawColor
- namespace Aspose.PSD.FileFormats.Psd.Core.RawColor
- assembly Aspose.PSD