編輯

共用方式為


SKCanvas.DrawNamedDestinationAnnotation Method

Definition

Overloads

DrawNamedDestinationAnnotation(SKPoint, SKData)

Annotates the canvas by associating a name with the specified point (see DrawLinkDestinationAnnotation(SKRect, SKData)).

DrawNamedDestinationAnnotation(SKPoint, String)

Annotates the canvas by associating a name with the specified point (see DrawLinkDestinationAnnotation(SKRect, String)).

DrawNamedDestinationAnnotation(SKPoint, SKData)

Annotates the canvas by associating a name with the specified point (see DrawLinkDestinationAnnotation(SKRect, SKData)).

public void DrawNamedDestinationAnnotation (SkiaSharp.SKPoint point, SkiaSharp.SKData value);

Parameters

point
SKPoint

The location of the destination.

value
SKData

The data that specifies the name of the 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

DrawNamedDestinationAnnotation(SKPoint, String)

Annotates the canvas by associating a name with the specified point (see DrawLinkDestinationAnnotation(SKRect, String)).

public SkiaSharp.SKData DrawNamedDestinationAnnotation (SkiaSharp.SKPoint point, string value);

Parameters

point
SKPoint

The location of the destination.

value
String

The name of the 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