Trait components::RenderHelper [−][src]
pub trait RenderHelper {
pub fn rand_offset(&self, x: f64, options: &RoughOptions) -> f64;
pub fn rand_offset_with_range(
&self,
min: f64,
max: f64,
options: &RoughOptions
) -> f64;
pub fn ellipse(
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &RoughOptions
) -> OpSet;
pub fn double_line_ops(
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
options: &RoughOptions
) -> Vec<Op, Global>ⓘ;
}Required methods
pub fn rand_offset(&self, x: f64, options: &RoughOptions) -> f64[src]
pub fn rand_offset_with_range(
&self,
min: f64,
max: f64,
options: &RoughOptions
) -> f64[src]
&self,
min: f64,
max: f64,
options: &RoughOptions
) -> f64
pub fn ellipse(
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &RoughOptions
) -> OpSet[src]
&self,
x: f64,
y: f64,
width: f64,
height: f64,
options: &RoughOptions
) -> OpSet
pub fn double_line_ops(
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
options: &RoughOptions
) -> Vec<Op, Global>ⓘ[src]
&self,
x1: f64,
y1: f64,
x2: f64,
y2: f64,
options: &RoughOptions
) -> Vec<Op, Global>ⓘ