XmpColorantRgb

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase

public final class XmpColorantRgb extends XmpColorantBase

Represents the RGB Colorant.

Constructors

Constructor Description
XmpColorantRgb() Initializes a new instance of the XmpColorantRgb class.
XmpColorantRgb(int red, int green, int blue) Initializes a new instance of the XmpColorantRgb class.

Methods

Method Description
getRed() Gets the red component.
setRed(Integer value) Sets the red component.
getGreen() Gets the green value.
setGreen(Integer value) Sets the green value.
getBlue() Gets the blue component.
setBlue(Integer value) Sets the blue component.

XmpColorantRgb()

public XmpColorantRgb()

Initializes a new instance of the XmpColorantRgb class.

XmpColorantRgb(int red, int green, int blue)

public XmpColorantRgb(int red, int green, int blue)

Initializes a new instance of the XmpColorantRgb class.

Parameters:

Parameter Type Description
red int Red component.
green int Green component.
blue int Blue component.

getRed()

public final Integer getRed()

Gets the red component.

Returns: java.lang.Integer - The red component.

setRed(Integer value)

public final void setRed(Integer value)

Sets the red component.

Parameters:

Parameter Type Description
value java.lang.Integer The red component.

getGreen()

public final Integer getGreen()

Gets the green value.

Returns: java.lang.Integer - The green component.

setGreen(Integer value)

public final void setGreen(Integer value)

Sets the green value.

Parameters:

Parameter Type Description
value java.lang.Integer The green component.

getBlue()

public final Integer getBlue()

Gets the blue component.

Returns: java.lang.Integer - The blue component.

setBlue(Integer value)

public final void setBlue(Integer value)

Sets the blue component.

Parameters:

Parameter Type Description
value java.lang.Integer The blue component.