Type Definition skia_safe::ContourMeasure

source ·
pub type ContourMeasure = RCHandle<SkContourMeasure>;

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

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