Function link_to_destination
pub fn link_to_destination(
canvas: &Canvas,
rect: impl AsRef<Rect>,
data: &RCHandle<SkData>,
)Expand description
Annotates the canvas by making the specified rectangle link to a named destination.
If the backend of this canvas does not support annotations, this call is safely ignored.
canvascanvas to annotaterectrectangle to linkdatadestination name data