public class Effect extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Effect.PresetClassTypeEnum
Preset class type.
|
static class |
Effect.RestartEnum
The way for a effect to restart after complete.
|
static class |
Effect.SubtypeEnum
Effect subtype.
|
static class |
Effect.TriggerTypeEnum
Effect trigger type.
|
static class |
Effect.TypeEnum
Effect type.
|
Constructor and Description |
---|
Effect() |
Modifier and Type | Method and Description |
---|---|
Effect |
accelerate(Double accelerate) |
Effect |
autoReverse(Boolean autoReverse) |
Effect |
decelerate(Double decelerate) |
Effect |
duration(Double duration) |
boolean |
equals(Object o) |
Double |
getAccelerate()
The percentage of duration accelerate behavior effect.
|
Double |
getDecelerate()
The percentage of duration decelerate behavior effect.
|
Double |
getDuration()
The duration of animation effect.
|
Effect.PresetClassTypeEnum |
getPresetClassType()
Preset class type.
|
Double |
getRepeatCount()
The number of times the effect should repeat.
|
Double |
getRepeatDuration()
The number of times the effect should repeat.
|
Effect.RestartEnum |
getRestart()
The way for a effect to restart after complete.
|
Integer |
getShapeIndex()
Shape index.
|
Double |
getSpeed()
The percentage by which to speed up (or slow down) the timing.
|
Effect.SubtypeEnum |
getSubtype()
Effect subtype.
|
Double |
getTriggerDelayTime()
Delay time after trigger.
|
Effect.TriggerTypeEnum |
getTriggerType()
Effect trigger type.
|
Effect.TypeEnum |
getType()
Effect type.
|
int |
hashCode() |
Boolean |
isAutoReverse()
True to automatically play the animation in reverse after playing it in the forward direction.
|
Effect |
presetClassType(Effect.PresetClassTypeEnum presetClassType) |
Effect |
repeatCount(Double repeatCount) |
Effect |
repeatDuration(Double repeatDuration) |
Effect |
restart(Effect.RestartEnum restart) |
void |
setAccelerate(Double accelerate) |
void |
setAutoReverse(Boolean autoReverse) |
void |
setDecelerate(Double decelerate) |
void |
setDuration(Double duration) |
void |
setPresetClassType(Effect.PresetClassTypeEnum presetClassType) |
void |
setRepeatCount(Double repeatCount) |
void |
setRepeatDuration(Double repeatDuration) |
void |
setRestart(Effect.RestartEnum restart) |
void |
setShapeIndex(Integer shapeIndex) |
void |
setSpeed(Double speed) |
void |
setSubtype(Effect.SubtypeEnum subtype) |
void |
setTriggerDelayTime(Double triggerDelayTime) |
void |
setTriggerType(Effect.TriggerTypeEnum triggerType) |
void |
setType(Effect.TypeEnum type) |
Effect |
shapeIndex(Integer shapeIndex) |
Effect |
speed(Double speed) |
Effect |
subtype(Effect.SubtypeEnum subtype) |
String |
toString() |
Effect |
triggerDelayTime(Double triggerDelayTime) |
Effect |
triggerType(Effect.TriggerTypeEnum triggerType) |
Effect |
type(Effect.TypeEnum type) |
public Effect type(Effect.TypeEnum type)
public Effect.TypeEnum getType()
public void setType(Effect.TypeEnum type)
public Effect subtype(Effect.SubtypeEnum subtype)
public Effect.SubtypeEnum getSubtype()
public void setSubtype(Effect.SubtypeEnum subtype)
public Effect presetClassType(Effect.PresetClassTypeEnum presetClassType)
public Effect.PresetClassTypeEnum getPresetClassType()
public void setPresetClassType(Effect.PresetClassTypeEnum presetClassType)
public Integer getShapeIndex()
public void setShapeIndex(Integer shapeIndex)
public Effect triggerType(Effect.TriggerTypeEnum triggerType)
public Effect.TriggerTypeEnum getTriggerType()
public void setTriggerType(Effect.TriggerTypeEnum triggerType)
public Double getAccelerate()
public void setAccelerate(Double accelerate)
public Boolean isAutoReverse()
public void setAutoReverse(Boolean autoReverse)
public Double getDecelerate()
public void setDecelerate(Double decelerate)
public Double getDuration()
public void setDuration(Double duration)
public Double getRepeatCount()
public void setRepeatCount(Double repeatCount)
public Double getRepeatDuration()
public void setRepeatDuration(Double repeatDuration)
public Effect restart(Effect.RestartEnum restart)
public Effect.RestartEnum getRestart()
public void setRestart(Effect.RestartEnum restart)
public Double getSpeed()
public void setSpeed(Double speed)
public Double getTriggerDelayTime()
public void setTriggerDelayTime(Double triggerDelayTime)
Copyright © 2021. All rights reserved.