Type Alias PathBuilder
pub type PathBuilder = Handle<SkPathBuilder>;
Aliased Type§
struct PathBuilder(/* private fields */);
Implementations
§impl Handle<SkPathBuilder>
impl Handle<SkPathBuilder>
pub fn new() -> Handle<SkPathBuilder>
pub fn new_path(path: &Handle<SkPath>) -> Handle<SkPathBuilder>
pub fn fill_type(&self) -> SkPathFillType
pub fn compute_bounds(&self) -> Rect
pub fn snapshot(&self) -> Handle<SkPath>
pub fn detach(&mut self) -> Handle<SkPath>
pub fn set_fill_type( &mut self, ft: SkPathFillType, ) -> &mut Handle<SkPathBuilder>
pub fn set_is_volatile( &mut self, is_volatile: bool, ) -> &mut Handle<SkPathBuilder>
pub fn reset(&mut self) -> &mut Handle<SkPathBuilder>
pub fn move_to(&mut self, pt: impl Into<Point>) -> &mut Handle<SkPathBuilder>
pub fn line_to(&mut self, pt: impl Into<Point>) -> &mut Handle<SkPathBuilder>
pub fn quad_to( &mut self, p1: impl Into<Point>, p2: impl Into<Point>, ) -> &mut Handle<SkPathBuilder>
pub fn conic_to( &mut self, p1: impl Into<Point>, p2: impl Into<Point>, w: f32, ) -> &mut Handle<SkPathBuilder>
pub fn cubic_to( &mut self, p1: impl Into<Point>, p2: impl Into<Point>, p3: impl Into<Point>, ) -> &mut Handle<SkPathBuilder>
pub fn close(&mut self) -> &mut Handle<SkPathBuilder>
pub fn polyline_to(&mut self, points: &[Point]) -> &mut Handle<SkPathBuilder>
pub fn r_line_to(&mut self, pt: impl Into<Point>) -> &mut Handle<SkPathBuilder>
pub fn r_quad_to( &mut self, pt1: impl Into<Point>, pt2: impl Into<Point>, ) -> &mut Handle<SkPathBuilder>
pub fn r_conic_to( &mut self, pt1: impl Into<Point>, pt2: impl Into<Point>, w: f32, ) -> &mut Handle<SkPathBuilder>
pub fn r_cubic_to( &mut self, pt1: impl Into<Point>, pt2: impl Into<Point>, pt3: impl Into<Point>, ) -> &mut Handle<SkPathBuilder>
pub fn arc_to( &mut self, oval: impl AsRef<Rect>, start_angle_deg: f32, sweep_angle_deg: f32, force_move_to: bool, ) -> &mut Handle<SkPathBuilder>
pub fn arc_to_tangent( &mut self, p1: impl Into<Point>, p2: impl Into<Point>, radius: f32, ) -> &mut Handle<SkPathBuilder>
pub fn arc_to_radius( &mut self, r: impl Into<Point>, x_axis_rotate: f32, large_arc: SkPathBuilder_ArcSize, sweep: SkPathDirection, xy: impl Into<Point>, ) -> &mut Handle<SkPathBuilder>
pub fn add_arc( &mut self, oval: impl AsRef<Rect>, start_angle_deg: f32, sweep_angle_deg: f32, ) -> &mut Handle<SkPathBuilder>
pub fn add_rect( &mut self, rect: impl AsRef<Rect>, dir: impl Into<Option<SkPathDirection>>, start_index: impl Into<Option<usize>>, ) -> &mut Handle<SkPathBuilder>
pub fn add_oval( &mut self, rect: impl AsRef<Rect>, dir: impl Into<Option<SkPathDirection>>, start_index: impl Into<Option<usize>>, ) -> &mut Handle<SkPathBuilder>
pub fn add_rrect( &mut self, rect: impl AsRef<RRect>, dir: impl Into<Option<SkPathDirection>>, start_index: impl Into<Option<usize>>, ) -> &mut Handle<SkPathBuilder>
pub fn add_circle( &mut self, center: impl Into<Point>, radius: f32, dir: impl Into<Option<SkPathDirection>>, ) -> &mut Handle<SkPathBuilder>
pub fn add_polygon( &mut self, pts: &[Point], is_closed: bool, ) -> &mut Handle<SkPathBuilder>
pub fn add_path(&mut self, path: &Handle<SkPath>) -> &mut Handle<SkPathBuilder>
pub fn inc_reserve(&mut self, extra_pt_count: usize, extra_verb_count: usize)
pub fn offset(&mut self, d: impl Into<Point>) -> &mut Handle<SkPathBuilder>
pub fn toggle_inverse_fill_type(&mut self) -> &mut Handle<SkPathBuilder>
pub fn make( _points: &[Point], _verbs: &[u8], _conic_weights: &[f32], _fill_type: SkPathFillType, _is_volatile: impl Into<Option<bool>>, ) -> !
👎Deprecated since 0.35.0: Removed without replacement