@TypeChecked class KeyFrames extends Object
Represents a keyframes block in CSS. Created by adavis on 8/1/16.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
add(StyleGroup sg) |
|
KeyFrames |
frame(int percent, Closure clos) Adds a "frame" block for given percent. |
|
KeyFrames |
frame(List<Integer> percents, Closure clos) Adds a "frame" block for given percents. |
|
KeyFrames |
from(Closure clos) Adds a "from" block. |
|
boolean |
isEmpty() |
|
void |
leftShift(StyleGroup sg) Adds a StyleGroup to this keyframes. |
|
KeyFrames |
to(Closure clos) Adds a "to" block. |
|
String |
toString() |
Adds a "frame" block for given percent.
Adds a "frame" block for given percents.
Adds a "from" block.
Adds a StyleGroup to this keyframes.
Adds a "to" block.