Function iced_audio::graphics::text_marks::draw_radial_text_marks[][src]

pub fn draw_radial_text_marks(
    center: Point,
    radius: f32,
    start_angle: f32,
    angle_span: f32,
    text_marks: &Group,
    style: &Style,
    h_char_offset: f32,
    inverse: bool,
    cache: &PrimitiveCache
) -> Primitive

Draws text marks around an arc.

  • center - The center point of the arc.
  • radius - The radius of the arc where the text marks start
  • start_angle - The starting angle of the arc in radians
  • angle_span - The span of the angle in radians
  • text_marks - The group of text marks.
  • style - The text marks style.
  • h_char_offset - Extra horizontal offset in pixels for each additional character in the text label. This is used to keep longer labels on the sides from being too close to the arc.
  • inverse - Whether to inverse the positions of the text marks (true) or not (false).