Struct lyon_tessellation::FillBuilder [−][src]
pub struct FillBuilder<'l> { /* fields omitted */ }
Implementations
impl<'l> FillBuilder<'l>
[src]
pub fn build(self) -> TessellationResult
[src]
Trait Implementations
impl<'l> Build for FillBuilder<'l>
[src]
type PathType = TessellationResult
The type of object that is created by this builder.
fn build(self) -> TessellationResult
[src]
impl<'l> PathBuilder for FillBuilder<'l>
[src]
fn begin(&mut self, at: Point) -> EndpointId
[src]
fn end(&mut self, _close: bool)
[src]
fn line_to(&mut self, to: Point) -> EndpointId
[src]
fn quadratic_bezier_to(&mut self, ctrl: Point, to: Point) -> EndpointId
[src]
fn cubic_bezier_to(
&mut self,
ctrl1: Point,
ctrl2: Point,
to: Point
) -> EndpointId
[src]
&mut self,
ctrl1: Point,
ctrl2: Point,
to: Point
) -> EndpointId
fn reserve(&mut self, endpoints: usize, ctrl_points: usize)
[src]
fn add_circle(&mut self, center: Point, radius: f32, winding: Winding)
[src]
Tessellate the stroke for an axis-aligned rounded rectangle.
pub fn close(&mut self)
[src]
pub fn path_event(
&mut self,
event: Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>
)
[src]
&mut self,
event: Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>
)
pub fn extend<Evts>(&mut self, events: Evts) where
Evts: IntoIterator<Item = Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>>,
[src]
Evts: IntoIterator<Item = Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>>,
pub fn add_polygon(&mut self, polygon: Polygon<'_, Point2D<f32, UnknownUnit>>)
[src]
pub fn add_point(&mut self, at: Point2D<f32, UnknownUnit>) -> EndpointId
[src]
pub fn add_line_segment(
&mut self,
line: &LineSegment<f32>
) -> (EndpointId, EndpointId)
[src]
&mut self,
line: &LineSegment<f32>
) -> (EndpointId, EndpointId)
pub fn add_ellipse(
&mut self,
center: Point2D<f32, UnknownUnit>,
radii: Vector2D<f32, UnknownUnit>,
x_rotation: Angle<f32>,
winding: Winding
)
[src]
&mut self,
center: Point2D<f32, UnknownUnit>,
radii: Vector2D<f32, UnknownUnit>,
x_rotation: Angle<f32>,
winding: Winding
)
pub fn add_rectangle(&mut self, rect: &Rect<f32, UnknownUnit>, winding: Winding)
[src]
pub fn add_rounded_rectangle(
&mut self,
rect: &Rect<f32, UnknownUnit>,
radii: &BorderRadii,
winding: Winding
)
[src]
&mut self,
rect: &Rect<f32, UnknownUnit>,
radii: &BorderRadii,
winding: Winding
)
pub fn flattened(self, tolerance: f32) -> Flattened<Self>
[src]
pub fn transformed<Transform>(
self,
transform: Transform
) -> Transformed<Self, Transform> where
Transform: Transformation<f32>,
[src]
self,
transform: Transform
) -> Transformed<Self, Transform> where
Transform: Transformation<f32>,
pub fn with_svg(self) -> WithSvg<Self>
[src]
Auto Trait Implementations
impl<'l> !RefUnwindSafe for FillBuilder<'l>
impl<'l> !Send for FillBuilder<'l>
impl<'l> !Sync for FillBuilder<'l>
impl<'l> Unpin for FillBuilder<'l>
impl<'l> !UnwindSafe for FillBuilder<'l>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,