Struct msdfgen::CubicSegment
source · #[repr(transparent)]pub struct CubicSegment { /* private fields */ }
Expand description
Quadratic segment object
Implementations§
Trait Implementations§
source§impl EdgeSegment for CubicSegment
impl EdgeSegment for CubicSegment
source§fn segment_kind(&self) -> SegmentKind
fn segment_kind(&self) -> SegmentKind
Gets segment kind
source§fn start_point(&self) -> &Point2<f64>
fn start_point(&self) -> &Point2<f64>
Gets starting point of segment
source§fn start_point_mut(&mut self) -> &mut Point2<f64>
fn start_point_mut(&mut self) -> &mut Point2<f64>
Gets starting point of segment (mutable)
source§fn control_point_mut(&mut self, num: u8) -> Option<&mut Point2<f64>>
fn control_point_mut(&mut self, num: u8) -> Option<&mut Point2<f64>>
Gets control point of segment (mutable)
source§fn end_point_mut(&mut self) -> &mut Point2<f64>
fn end_point_mut(&mut self) -> &mut Point2<f64>
Gets end point of segment (mutable)
source§fn edge_color(&self) -> &EdgeColor
fn edge_color(&self) -> &EdgeColor
Gets edge color of segment
source§fn edge_color_mut(&mut self) -> &mut EdgeColor
fn edge_color_mut(&mut self) -> &mut EdgeColor
Gets edge color of segment (mutable)