[][src]Trait svgbob::fragment::Bounds

pub trait Bounds {
    fn bounds(&self) -> (Point, Point);

    fn mins(&self) -> Point { ... }
fn maxs(&self) -> Point { ... } }

get the boundary of a fragment this is used for sorting the fragments in a consistent sorted order

Required methods

fn bounds(&self) -> (Point, Point)

Loading content...

Provided methods

fn mins(&self) -> Point

fn maxs(&self) -> Point

Loading content...

Implementors

impl Bounds for Fragment[src]

impl Bounds for Arc[src]

impl Bounds for CellText[src]

impl Bounds for Circle[src]

impl Bounds for Line[src]

impl Bounds for MarkerLine[src]

impl Bounds for Polygon[src]

impl Bounds for Rect[src]

impl Bounds for Text[src]

Loading content...