use super::super::traits::*;
use canvas::*;
use std::time::Duration;
pub struct EmptyFrame {
time_index: Duration
}
impl EmptyFrame {
pub fn new(time_index: Duration) -> EmptyFrame {
EmptyFrame {
time_index: time_index
}
}
}
impl Frame for EmptyFrame {
fn time_index(&self) -> Duration {
self.time_index
}
fn render_to(&self, _gc: &mut GraphicsPrimitives) {
}
fn vector_elements(&self) -> Option<Box<Iterator<Item=Vector>>> {
None
}
fn active_brush(&self) -> Option<(BrushDefinition, BrushDrawingStyle)> { None }
fn active_brush_properties(&self) -> Option<BrushProperties> { None }
}