Skip to main content

selection

Function selection 

Source
pub fn selection(
    selector: &SampledSelector,
    layout: &TextLayout,
    runs: &[TextRun],
    time: MediaTime,
) -> Vec<f32>
Expand description

The selection in [0, 1] that selector gives each cluster of layout, at time for a Timing selector. runs is empty for a plain string.