SKMatrix.CreateScaleTranslation(Single, Single, Single, Single) Methode

Definition

Erstellt eine Matrix mit Skalierung und Übersetzung.

public static SkiaSharp.SKMatrix CreateScaleTranslation(float sx, float sy, float tx, float ty);

Parameter

sx
Single

Der Skalierungsfaktor in x-Richtung.

sy
Single

Der Skalierungsfaktor in der y-Richtung.

tx
Single

Die Übersetzung in x-Richtung.

ty
Single

Die Übersetzung in y-Richtung.

Gibt zurück

Gibt die neue Matrix zurück.

Gilt für: