[][src]Trait pathfinder::Draw

pub trait Draw {
    fn draw<S: Shape>(&self, image: IW, offset: Coordinate, shape: &S) -> IW;
fn size(&self) -> u32;
fn links(&self) -> &[HL]; }

Functions required to draw the structure on the image.

Required methods

fn draw<S: Shape>(&self, image: IW, offset: Coordinate, shape: &S) -> IW

fn size(&self) -> u32

Loading content...

Implementors

impl Draw for Group
[src]

fn draw<S: Shape>(&self, image: IW, offset: Coordinate, shape: &S) -> IW
[src]

Draws the Nodes inside that Group. If none the Group is draw as blank.

impl Draw for Node
[src]

Loading content...