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

Constructor Description
ColorEffect() Creates new instance.

Methods

Method Description
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:

Parameter Type Description
value IColorFormat

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:

Parameter Type Description
value IColorFormat

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:

Parameter Type Description
value IColorOffset

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:

Parameter Type Description
value int

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:

Parameter Type Description
value int