ColorEffect

Inheritance: java.lang.Object, com.aspose.slides.Behavior

All Implemented Interfaces: com.aspose.slides.IColorEffect

public class ColorEffect extends Behavior implements IColorEffect

Represents a color effect for an animation behavior.

Constructors

ConstructorDescription
ColorEffect()Creates new instance.

Methods

MethodDescription
getFrom()This value is used to specify the starting color of behavior.
setFrom(IColorFormat value)This value is used to specify the starting color of behavior.
getTo()Describes resulting color for the animation color change.
setTo(IColorFormat value)Describes resulting color for the animation color change.
getBy()Describes the relative offset value for the color animation.
setBy(IColorOffset value)Describes the relative offset value for the color animation.
getColorSpace()Represent color space of behavior.
setColorSpace(int value)Represent color space of behavior.
getDirection()Specifies which direction to cycle the hue around the color wheel.
setDirection(int value)Specifies which direction to cycle the hue around the color wheel.

ColorEffect()

public ColorEffect()

Creates new instance.

getFrom()

public final IColorFormat getFrom()

This value is used to specify the starting color of behavior. Read/write IColorFormat.

Returns: IColorFormat

setFrom(IColorFormat value)

public final void setFrom(IColorFormat value)

This value is used to specify the starting color of behavior. Read/write IColorFormat.

Parameters:

ParameterTypeDescription
valueIColorFormat

getTo()

public final IColorFormat getTo()

Describes resulting color for the animation color change. Read/write IColorFormat.

Returns: IColorFormat

setTo(IColorFormat value)

public final void setTo(IColorFormat value)

Describes resulting color for the animation color change. Read/write IColorFormat.

Parameters:

ParameterTypeDescription
valueIColorFormat

getBy()

public final IColorOffset getBy()

Describes the relative offset value for the color animation. Read/write IColorOffset.

Returns: IColorOffset

setBy(IColorOffset value)

public final void setBy(IColorOffset value)

Describes the relative offset value for the color animation. Read/write IColorOffset.

Parameters:

ParameterTypeDescription
valueIColorOffset

getColorSpace()

public final int getColorSpace()

Represent color space of behavior. Read/write ColorSpace.

Returns: int

setColorSpace(int value)

public final void setColorSpace(int value)

Represent color space of behavior. Read/write ColorSpace.

Parameters:

ParameterTypeDescription
valueint

getDirection()

public final int getDirection()

Specifies which direction to cycle the hue around the color wheel. Read/write ColorDirection.

Returns: int

setDirection(int value)

public final void setDirection(int value)

Specifies which direction to cycle the hue around the color wheel. Read/write ColorDirection.

Parameters:

ParameterTypeDescription
valueint