[][src]Struct azure::azure_hl::PathBuilder

pub struct PathBuilder {
    pub azure_path_builder: AzPathBuilderRef,
}

Fields

azure_path_builder: AzPathBuilderRef

Methods

impl PathBuilder[src]

pub fn move_to(&self, point: Point2D<AzFloat>)[src]

pub fn line_to(&self, point: Point2D<AzFloat>)[src]

pub fn arc(
    &self,
    origin: Point2D<AzFloat>,
    radius: AzFloat,
    start_angle: AzFloat,
    end_angle: AzFloat,
    anticlockwise: bool
)
[src]

Adds an arc to the current figure.

pub fn ellipse(
    &self,
    origin: Point2D<AzFloat>,
    radius_x: AzFloat,
    radius_y: AzFloat,
    rotation_angle: AzFloat,
    start_angle: AzFloat,
    end_angle: AzFloat,
    anticlockwise: bool
)
[src]

Adds an ellipse to the current figure.

pub fn quadratic_curve_to(
    &self,
    control_point: &Point2D<AzFloat>,
    end_point: &Point2D<AzFloat>
)
[src]

Adds a quadratic Bézier curve to the current figure.

pub fn bezier_curve_to(
    &self,
    control_point_1: &Point2D<AzFloat>,
    control_point_2: &Point2D<AzFloat>,
    control_point_3: &Point2D<AzFloat>
)
[src]

Adds a cubic Bézier curve to the current figure.

pub fn get_current_point(&self) -> AzPoint[src]

Returns the current last point of the current path.

pub fn close(&self)[src]

Closes the current path.

pub fn finish(&self) -> Path[src]

Trait Implementations

impl Drop for PathBuilder[src]

impl Debug for PathBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]