AdvancedShapesExt

Trait AdvancedShapesExt 

Source
pub trait AdvancedShapesExt {
    // Required methods
    fn round_rect(&self, x: f64, y: f64, width: f64, height: f64, radius: f64);
    fn polygon(&self, x: f64, y: f64, radius: f64, n: usize);
    fn star(&self, x: f64, y: f64, points: usize, outer: f64, inner: f64);
}

Required Methods§

Source

fn round_rect(&self, x: f64, y: f64, width: f64, height: f64, radius: f64)

Source

fn polygon(&self, x: f64, y: f64, radius: f64, n: usize)

Source

fn star(&self, x: f64, y: f64, points: usize, outer: f64, inner: f64)

Implementors§