public Keyframe(Rectangle displayRectangle, float duration) { DisplayRectangle = displayRectangle; Duration = duration; }