skia_safe

Type Alias ContourMeasure

Source
pub type ContourMeasure = RCHandle<SkContourMeasure>;

Aliased Type§

struct ContourMeasure(/* private fields */);

Implementations§

Source§

impl ContourMeasure

Source

pub fn length(&self) -> scalar

Source

pub fn pos_tan(&self, distance: scalar) -> Option<(Point, Vector)>

Source

pub fn get_matrix( &self, distance: scalar, flags: impl Into<Option<MatrixFlags>>, ) -> Option<Matrix>

Source

pub fn segment( &self, start_d: scalar, stop_d: scalar, start_with_move_to: bool, ) -> Option<Path>

Source

pub fn is_closed(&self) -> bool

Source

pub fn verbs(&self) -> ForwardVerbIterator<'_>

Trait Implementations§

Source§

impl Debug for ContourMeasure

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Send for ContourMeasure

Source§

impl Sync for ContourMeasure