Struct printpdf::types::plugins::graphics::two_dimensional::point::Point
[−]
[src]
pub struct Point { pub x: Pt, pub y: Pt, }
Fields
x: Pt
x position from the bottom left corner in pt
y: Pt
y position from the bottom left corner in pt
Methods
impl Point
[src]
fn new(x: Mm, y: Mm) -> Self
[src]
Create a new point. WARNING: The reference point for a point is the bottom left corner, not the top left
Trait Implementations
impl Debug for Point
[src]
impl Copy for Point
[src]
impl Clone for Point
[src]
fn clone(&self) -> Point
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more