Skip to main content

named_destination

Function named_destination 

pub fn named_destination(
    canvas: &Canvas,
    point: impl Into<Point>,
    data: &RCHandle<SkData>,
)
Expand description

Annotates the canvas by associating a name with the specified point.

If the backend of this canvas does not support annotations, this call is safely ignored.

  • canvas canvas to annotate
  • point point to associate with the name
  • data name data