public final class FixedFrameRate extends Object implements FrameRate
FrameRate
implementation providing fixed frame rate.AnimationManager
Constructor and Description |
---|
FixedFrameRate(double frameRate)
Constructs new
FixedFrameRate . |
Modifier and Type | Method and Description |
---|---|
boolean |
isFixed()
Returns whether frame rate of this transition is fixed or might vary.
|
String |
toString() |
double |
value()
Returns amount of animation frames that should be processed per second.
|
public FixedFrameRate(double frameRate)
FixedFrameRate
.frameRate
- frame ratepublic double value()
FrameRate
24
, 30
, 40
and 60
- those provide visually distinct results.public boolean isFixed()
FrameRate
Copyright © 2020. All rights reserved.