ColorantCmyk Class

Summary: Represents CMYK Colorant.

Module: aspose.psd.xmp.types.complex.colorant

Full Name: aspose.psd.xmp.types.complex.colorant.ColorantCmyk

Inheritance: IXmpType, ColorantBase

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
ColorantCmyk()Initializes a new instance of the ColorantCmyk class.
ColorantCmyk(black, cyan, magenta, yellow)Initializes a new instance of the ColorantCmyk class.

Properties

NameTypeAccessDescription
COLOR_VALUE_MAX [static]floatrColor max value in CMYK colorant.
COLOR_VALUE_MIN [static]floatrColor min value in CMYK colorant.
blackfloatr/wGets or sets the black component value.
color_typeColorTyper/wGets or sets the type of the color.
cyanfloatr/wGets or sets the cyan component value.
magentafloatr/wGets or sets the magenta component value.
modeColorModerGets ColorMode.
namespace_uristringrGets the default namespace URI.
prefixstringrGets the prefix.
swatch_namestringr/wGets or sets the name of the swatch.
yellowfloatr/wGets or sets the yellow component value.

Methods

NameDescription
get_xmp_representation()Gets the string contained value in XMP format.

Constructor: ColorantCmyk()

 ColorantCmyk() 

Initializes a new instance of the ColorantCmyk class.

Constructor: ColorantCmyk(black, cyan, magenta, yellow)

 ColorantCmyk(black, cyan, magenta, yellow) 

Initializes a new instance of the ColorantCmyk class.

Parameters:

ParameterTypeDescription
blackfloatThe black component value.
cyanfloatThe cyan color component value.
magentafloatThe magenta component value.
yellowfloatThe yellow component value.

Method: get_xmp_representation()

 get_xmp_representation() 

Gets the string contained value in XMP format.

Returns

TypeDescription
stringReturns the string contained value in XMP format.