Struct astrup::chart::point::Point
[−]
[src]
pub struct Point { /* fields omitted */ }
Methods
impl Point
[src]
fn new(x_coord: f64, y_coord: f64) -> Point
[src]
fn set_coord(&mut self, x_val: f64, y_val: f64)
[src]
fn set_x_coord(&mut self, val: f64)
[src]
fn set_y_coord(&mut self, val: f64)
[src]
fn set_color(&mut self, color: Rgba)
[src]
Set the color of the point
fn set_color_rgb(&mut self, red: f32, green: f32, blue: f32)
[src]
Set the color of the point
fn set_color_rgba(&mut self, red: f32, green: f32, blue: f32, alpha: f32)
[src]
Set the plot background color. Note: This is different from the canvas background color.
fn set_shape(&mut self, shape: Shape)
[src]
fn set_size(&mut self, size: f64)
[src]
fn coord(&self) -> Coord
[src]
fn x_coord(&self) -> f64
[src]
fn y_coord(&self) -> f64
[src]
fn map_range(&mut self, old_frame: &Frame, new_frame: &Frame)
[src]
Trait Implementations
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