[−][src]Trait lyon_path::builder::PathBuilder
The main path building interface. More elaborate interfaces are built on top of the provided primitives.
Required methods
fn quadratic_bezier_to(&mut self, ctrl: Point, to: Point)
fn cubic_bezier_to(&mut self, ctrl1: Point, ctrl2: Point, to: Point)
fn arc(
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
Provided methods
fn path_event(&mut self, event: PathEvent)
fn with_svg(self) -> SvgPathBuilder<Self>
Returns a builder that support svg commands.
Implementors
impl PathBuilder for Builder
[src]
fn quadratic_bezier_to(&mut self, ctrl: Point, to: Point)
[src]
fn cubic_bezier_to(&mut self, ctrl1: Point, ctrl2: Point, to: Point)
[src]
fn arc(
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
[src]
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
impl<Builder: FlatPathBuilder> PathBuilder for FlatteningBuilder<Builder>
[src]
fn quadratic_bezier_to(&mut self, ctrl: Point, to: Point)
[src]
fn cubic_bezier_to(&mut self, ctrl1: Point, ctrl2: Point, to: Point)
[src]
fn arc(
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
[src]
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)