Struct msdfgen::EdgeHolder
source · #[repr(transparent)]pub struct EdgeHolder { /* private fields */ }
Expand description
Edge holder object
Implementations§
source§impl EdgeHolder
impl EdgeHolder
sourcepub fn new(segment: impl EdgeSegment) -> Self
pub fn new(segment: impl EdgeSegment) -> Self
Created new edge with segment
sourcepub fn set(&mut self, segment: impl EdgeSegment)
pub fn set(&mut self, segment: impl EdgeSegment)
Set segment to edge
sourcepub fn new_linear(
start_point: impl Into<Point2<f64>>,
end_point: impl Into<Point2<f64>>,
edge_color: impl Into<EdgeColor>
) -> Self
pub fn new_linear(
start_point: impl Into<Point2<f64>>,
end_point: impl Into<Point2<f64>>,
edge_color: impl Into<EdgeColor>
) -> Self
Creates line edge (linear segment)