편집

다음을 통해 공유


SKCanvas.Translate Method

Definition

Overloads

Translate(SKPoint)

Pre-concatenates the current matrix with the specified translation.

Translate(Single, Single)

Pre-concatenates the current matrix with the specified translation.

Translate(SKPoint)

Pre-concatenates the current matrix with the specified translation.

public void Translate (SkiaSharp.SKPoint point);

Parameters

point
SKPoint

The distance to translate.

Applies to

Translate(Single, Single)

Pre-concatenates the current matrix with the specified translation.

public void Translate (float dx, float dy);

Parameters

dx
Single

The distance to translate in the x-direction

dy
Single

The distance to translate in the y-direction.

Applies to