[−][src]Struct azure::azure_hl::PathBuilder
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]
&self,
origin: Point2D<AzFloat>,
radius: AzFloat,
start_angle: AzFloat,
end_angle: AzFloat,
anticlockwise: bool
)
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]
&self,
origin: Point2D<AzFloat>,
radius_x: AzFloat,
radius_y: AzFloat,
rotation_angle: AzFloat,
start_angle: AzFloat,
end_angle: AzFloat,
anticlockwise: bool
)
Adds an ellipse to the current figure.
pub fn quadratic_curve_to(
&self,
control_point: &Point2D<AzFloat>,
end_point: &Point2D<AzFloat>
)
[src]
&self,
control_point: &Point2D<AzFloat>,
end_point: &Point2D<AzFloat>
)
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]
&self,
control_point_1: &Point2D<AzFloat>,
control_point_2: &Point2D<AzFloat>,
control_point_3: &Point2D<AzFloat>
)
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
impl !Send for PathBuilder
impl Unpin for PathBuilder
impl !Sync for PathBuilder
impl RefUnwindSafe for PathBuilder
impl UnwindSafe for PathBuilder
Blanket Implementations
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,