Upravit

Sdílet prostřednictvím


SKCanvas.DrawLinkDestinationAnnotation Method

Definition

Overloads

DrawLinkDestinationAnnotation(SKRect, SKData)

Annotates the canvas by making the specified rectangle link to a named destination (see DrawNamedDestinationAnnotation(SKPoint, SKData)).

DrawLinkDestinationAnnotation(SKRect, String)

Annotates the canvas by making the specified rectangle link to a named destination (see DrawNamedDestinationAnnotation(SKPoint, String)).

DrawLinkDestinationAnnotation(SKRect, SKData)

Annotates the canvas by making the specified rectangle link to a named destination (see DrawNamedDestinationAnnotation(SKPoint, SKData)).

public void DrawLinkDestinationAnnotation (SkiaSharp.SKRect rect, SkiaSharp.SKData value);

Parameters

rect
SKRect

The bounds of the annotation.

value
SKData

The data that specifies the name of the link's destination.

Remarks

The caller is responsible for managing its ownership of the data.

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

Applies to

DrawLinkDestinationAnnotation(SKRect, String)

Annotates the canvas by making the specified rectangle link to a named destination (see DrawNamedDestinationAnnotation(SKPoint, String)).

public SkiaSharp.SKData DrawLinkDestinationAnnotation (SkiaSharp.SKRect rect, string value);

Parameters

rect
SKRect

The bounds of the annotation.

value
String

The name of the link's destination.

Returns

Returns the actual data object that was attached to the canvas.

Remarks

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

Applies to