편집

다음을 통해 공유


SKCanvas.DrawUrlAnnotation Method

Definition

Overloads

DrawUrlAnnotation(SKRect, SKData)

Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates).

DrawUrlAnnotation(SKRect, String)

Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates).

DrawUrlAnnotation(SKRect, SKData)

Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates).

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

Parameters

rect
SKRect

The bounds of the annotation.

value
SKData

The data that specifies the URL.

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

DrawUrlAnnotation(SKRect, String)

Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates).

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

Parameters

rect
SKRect

The bounds of the annotation.

value
String

The URL.

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