[−][src]Trait lyon_path::builder::SvgBuilder
A path building interface that tries to stay close to SVG's path specification. https://svgwg.org/specs/paths/
Required methods
fn relative_move_to(&mut self, to: Vector)
fn relative_line_to(&mut self, to: Vector)
fn relative_quadratic_bezier_to(&mut self, ctrl: Vector, to: Vector)
fn relative_cubic_bezier_to(&mut self, ctrl1: Vector, ctrl2: Vector, to: Vector)
fn smooth_cubic_bezier_to(&mut self, ctrl2: Point, to: Point)
fn smooth_relative_cubic_bezier_to(&mut self, ctrl2: Vector, to: Vector)
fn smooth_quadratic_bezier_to(&mut self, to: Point)
fn smooth_relative_quadratic_bezier_to(&mut self, to: Vector)
fn horizontal_line_to(&mut self, x: f32)
fn relative_horizontal_line_to(&mut self, dx: f32)
fn vertical_line_to(&mut self, y: f32)
fn relative_vertical_line_to(&mut self, dy: f32)
fn arc_to(
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Point
)
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Point
)
fn relative_arc_to(
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Vector
)
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Vector
)
Provided methods
Loading content...Implementors
impl<Builder: PathBuilder> SvgBuilder for SvgPathBuilder<Builder>
[src]
fn relative_move_to(&mut self, to: Vector)
[src]
fn relative_line_to(&mut self, to: Vector)
[src]
fn relative_quadratic_bezier_to(&mut self, ctrl: Vector, to: Vector)
[src]
fn relative_cubic_bezier_to(&mut self, ctrl1: Vector, ctrl2: Vector, to: Vector)
[src]
fn smooth_cubic_bezier_to(&mut self, ctrl2: Point, to: Point)
[src]
fn smooth_relative_cubic_bezier_to(&mut self, ctrl2: Vector, to: Vector)
[src]
fn smooth_quadratic_bezier_to(&mut self, to: Point)
[src]
fn smooth_relative_quadratic_bezier_to(&mut self, to: Vector)
[src]
fn horizontal_line_to(&mut self, x: f32)
[src]
fn relative_horizontal_line_to(&mut self, dx: f32)
[src]
fn vertical_line_to(&mut self, y: f32)
[src]
fn relative_vertical_line_to(&mut self, dy: f32)
[src]
fn arc_to(
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Point
)
[src]
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Point
)
fn relative_arc_to(
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Vector
)
[src]
&mut self,
radii: Vector,
x_rotation: Angle,
flags: ArcFlags,
to: Vector
)