use super::properties::*;
use super::super::path::*;
use super::super::edit::*;
use canvas::*;
use std::any::*;
pub trait VectorElement : Send+Any {
fn id(&self) -> ElementId;
fn to_path(&self, properties: &VectorProperties) -> Option<Vec<Path>>;
fn render(&self, gc: &mut GraphicsPrimitives, properties: &VectorProperties);
fn update_properties(&self, _properties: &mut VectorProperties) { }
}