SKMatrix.MapVector Méthode

Définition

Surcharges

Nom Description
MapVector(SKPoint)

Transforme un vecteur à l’aide de cette matrice, ignorant la traduction.

MapVector(Single, Single)

Applique la matrice à un vecteur, ignorant la traduction.

MapVector(SKPoint)

Transforme un vecteur à l’aide de cette matrice, ignorant la traduction.

public readonly SkiaSharp.SKPoint MapVector(SkiaSharp.SKPoint vector);

Paramètres

vector
SKPoint

Vecteur à transformer.

Retours

Retourne le vecteur transformé.

Remarques

Les vecteurs de mappage ignorent le composant de traduction dans la matrice. Permet MapPoint(SKPoint) de prendre en compte la traduction.

S’applique à

MapVector(Single, Single)

Applique la matrice à un vecteur, ignorant la traduction.

public readonly SkiaSharp.SKPoint MapVector(float x, float y);

Paramètres

x
Single

Composant x du vecteur.

y
Single

Composant y du vecteur.

Retours

Retourne le point mappé.

Remarques

Les vecteurs de mappage ignorent le composant de traduction dans la matrice. Permet MapPoint(SKPoint) de prendre en compte la traduction.

S’applique à