Struct animate::RoughGenerator [−][src]
pub struct RoughGenerator { pub config: RoughConfig, pub default_options: RoughOptions, }
Fields
config: RoughConfig
default_options: RoughOptions
Implementations
impl RoughGenerator
[src]
impl RoughGenerator
[src]pub fn new(config: RoughConfig) -> Self
[src]
pub fn new_seed(&self) -> u64
[src]
pub fn line<'a>(
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn rectangle<'a>(
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn ellipse<'a>(
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn circle<'a>(
&self,
x: f64,
y: f64,
diameter: f64,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
x: f64,
y: f64,
diameter: f64,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn linear_path<'a>(
&self,
points: &Vec<Point<f64>>,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
points: &Vec<Point<f64>>,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn arc<'a>(
&self,
x: f64,
y: f64,
width: f64,
height: f64,
start: f64,
stop: f64,
closed: bool,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
x: f64,
y: f64,
width: f64,
height: f64,
start: f64,
stop: f64,
closed: bool,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn curve<'a>(
&self,
points: &Vec<Point<f64>>,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
points: &Vec<Point<f64>>,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn polygon<'a>(
&self,
points: &Vec<Point<f64>>,
options: &'a RoughOptions
) -> Drawable<'a>
[src]
&self,
points: &Vec<Point<f64>>,
options: &'a RoughOptions
) -> Drawable<'a>
pub fn path<'a>(&self, d: &str, options: &'a RoughOptions) -> Drawable<'a>
[src]
pub fn ops_to_path(&self, drawing: &OpSet) -> String
[src]
pub fn to_paths(&self, drawable: Drawable<'_>) -> Vec<PathInfo>ⓘ
[src]
pub fn fill_sketch(&self, drawing: &OpSet, options: &RoughOptions) -> PathInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for RoughGenerator
impl RefUnwindSafe for RoughGenerator
impl Send for RoughGenerator
impl Send for RoughGenerator
impl Sync for RoughGenerator
impl Sync for RoughGenerator
impl Unpin for RoughGenerator
impl Unpin for RoughGenerator
impl UnwindSafe for RoughGenerator
impl UnwindSafe for RoughGenerator