public class ColorEffect extends Behavior implements IColorEffect
Represents a color effect for an animation behavior.
Constructor and Description |
---|
ColorEffect()
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
IColorOffset |
getBy()
Describes the relative offset value for the color animation.
|
int |
getColorSpace()
Represent color space of behavior.
|
int |
getDirection()
Specifies which direction to cycle the hue around the color wheel.
|
IColorFormat |
getFrom()
This value is used to specify the starting color of behavior.
|
IColorFormat |
getTo()
Describes resulting color for the animation color change.
|
void |
setBy(IColorOffset value)
Describes the relative offset value for the color animation.
|
void |
setColorSpace(int value)
Represent color space of behavior.
|
void |
setDirection(int value)
Specifies which direction to cycle the hue around the color wheel.
|
void |
setFrom(IColorFormat value)
This value is used to specify the starting color of behavior.
|
void |
setTo(IColorFormat value)
Describes resulting color for the animation color change.
|
getAccumulate, getAdditive, getParent_Immediate, getProperties, getTiming, setAccumulate, setAdditive, setTiming
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccumulate, getAdditive, getProperties, getTiming, setAccumulate, setAdditive, setTiming
public final IColorFormat getFrom()
This value is used to specify the starting color of behavior.
Read/write IColorFormat
.
getFrom
in interface IColorEffect
public final void setFrom(IColorFormat value)
This value is used to specify the starting color of behavior.
Read/write IColorFormat
.
setFrom
in interface IColorEffect
public final IColorFormat getTo()
Describes resulting color for the animation color change.
Read/write IColorFormat
.
getTo
in interface IColorEffect
public final void setTo(IColorFormat value)
Describes resulting color for the animation color change.
Read/write IColorFormat
.
setTo
in interface IColorEffect
public final IColorOffset getBy()
Describes the relative offset value for the color animation.
Read/write IColorOffset
.
getBy
in interface IColorEffect
public final void setBy(IColorOffset value)
Describes the relative offset value for the color animation.
Read/write IColorOffset
.
setBy
in interface IColorEffect
public final int getColorSpace()
Represent color space of behavior.
Read/write ColorSpace
.
getColorSpace
in interface IColorEffect
public final void setColorSpace(int value)
Represent color space of behavior.
Read/write ColorSpace
.
setColorSpace
in interface IColorEffect
public final int getDirection()
Specifies which direction to cycle the hue around the color wheel.
Read/write ColorDirection
.
getDirection
in interface IColorEffect
public final void setDirection(int value)
Specifies which direction to cycle the hue around the color wheel.
Read/write ColorDirection
.
setDirection
in interface IColorEffect