EmfPlusTintEffect

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusImageEffectsObjectType

public final class EmfPlusTintEffect extends EmfPlusImageEffectsObjectType

The TintEffect object specifies an addition of black or white to a specified hue in an image.

Constructors

ConstructorDescription
EmfPlusTintEffect()

Methods

MethodDescription
getHue()Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.
setHue(int value)Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.
getAmount()Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.
setAmount(int value)Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.

EmfPlusTintEffect()

public EmfPlusTintEffect()

getHue()

public int getHue()

Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied. -180 \u2264 value < 0 The color at a specified counter-clockwise rotation of the color wheel, starting from blue. 0 A value of 0 specifies the color blue on the color wheel. 0 < value \u2264 180 The color at a specified clockwise rotation of the color wheel, starting from blue

Returns: int

setHue(int value)

public void setHue(int value)

Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied. -180 \u2264 value < 0 The color at a specified counter-clockwise rotation of the color wheel, starting from blue. 0 A value of 0 specifies the color blue on the color wheel. 0 < value \u2264 180 The color at a specified clockwise rotation of the color wheel, starting from blue

Parameters:

ParameterTypeDescription
valueint

getAmount()

public int getAmount()

Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened. -100 \u2264 value < 0 Negative values specify how much the hue is weakened, which equates to the addition of black. 0 A value of 0 specifies that the tint MUST NOT change. 0 < value \u2264 100 Positive values specify how much the hue is strengthened, which equates to the addition of white.

Value: The amount.

Returns: int

setAmount(int value)

public void setAmount(int value)

Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened. -100 \u2264 value < 0 Negative values specify how much the hue is weakened, which equates to the addition of black. 0 A value of 0 specifies that the tint MUST NOT change. 0 < value \u2264 100 Positive values specify how much the hue is strengthened, which equates to the addition of white.

Value: The amount.

Parameters:

ParameterTypeDescription
valueint