Class SVGMatrix

Class SVGMatrix

Der Name: Aspose.Html.Dom.Svg.DataTypes Sammlung: Aspose.HTML.dll (25.4.0)

Viele der Grafiken von SVG nutzen 2x3 Matrizen der Form:[a c e][b d f]die, wenn sie in eine 3x3 Matrix für die Zwecke der Matrix-Arithmetik erweitert werden, werden:[a c e][b d f][0 0 1]

[ComVisible(true)]
[DOMObject]
[DOMName("SVGMatrix")]
public class SVGMatrix : SVGValueType, INotifyPropertyChanged, IDisposable

Inheritance

object DOMObject SVGValueType SVGMatrix

Implements

INotifyPropertyChanged , IDisposable

Vererbte Mitglieder

SVGValueType.Dispose() , SVGValueType.Dispose(bool) , DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

A

Die A-Komponente der Matrix.

[DOMName("a")]
public float A { get; set; }

Eigentumswert

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Erwachsen auf einem Versuch, den Wert eines Lesens nur zu ändern.

B

Die B-Komponente der Matrix.

[DOMName("b")]
public float B { get; set; }

Eigentumswert

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Erwachsen auf einem Versuch, den Wert eines Lesens nur zu ändern.

C

Die C-Komponente der Matrix.

[DOMName("c")]
public float C { get; set; }

Eigentumswert

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Erwachsen auf einem Versuch, den Wert eines Lesens nur zu ändern.

D

Die D-Komponente der Matrix.

[DOMName("d")]
public float D { get; set; }

Eigentumswert

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Erwachsen auf einem Versuch, den Wert eines Lesens nur zu ändern.

E

Die E-Komponente der Matrix.

[DOMName("e")]
public float E { get; set; }

Eigentumswert

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Erwachsen auf einem Versuch, den Wert eines Lesens nur zu ändern.

F

Die F-Komponente der Matrix.

[DOMName("f")]
public float F { get; set; }

Eigentumswert

float

Exceptions

DOMException

Code Aspose.Html.Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR.Erwachsen auf einem Versuch, den Wert eines Lesens nur zu ändern.

Methods

Multiply(SVGMatrix)

Diese Matrix wird durch eine andere Matrix nachvervielfältigt, die die resultierende neue Matrix zurückgibt.

[DOMName("multiply")]
public SVGMatrix Multiply(SVGMatrix secondMatrix)

Parameters

secondMatrix SVGMatrix

Die Matrix, die nach dieser Matrix multipliziert wird.

Returns

SVGMatrix

Die resultierende Matrix.

Rotate(Flotte)

Post-Multipliziert eine Rotation Transformation auf der aktuellen Matrix und kehrt die resultierende Matrix zurück.

[DOMName("rotate")]
public SVGMatrix Rotate(float angle)

Parameters

angle float

Der Rotationsang.

Returns

SVGMatrix

Die resultierende Matrix.

Scale(Flotte)

Post-Multipliziert eine einheitliche Skala-Transformation auf der aktuellen Matrix und kehrt die resultierende Matrix zurück.

[DOMName("scale")]
public SVGMatrix Scale(float scaleFactor)

Parameters

scaleFactor float

Skalafaktor in X und Y.

Returns

SVGMatrix

Die resultierende Matrix.

ScaleNonUniform(Flotte und Flotte)

Post-Multipliziert eine nicht einheitliche Skala-Transformation auf der aktuellen Matrix und kehrt die resultierende Matrix zurück.

[DOMName("scaleNonUniform")]
public SVGMatrix ScaleNonUniform(float scaleFactorX, float scaleFactorY)

Parameters

scaleFactorX float

Skalierungsfaktor in X.

scaleFactorY float

Der Skalafaktor in Y.

Returns

SVGMatrix

Die resultierende Matrix.

SkewX(Flotte)

Post-Multipliziert eine skewX-Transformation auf der aktuellen Matrix und kehrt die resultierende Matrix zurück.

[DOMName("skewX")]
public SVGMatrix SkewX(float angle)

Parameters

angle float

Der Skew-Angel.

Returns

SVGMatrix

Die resultierende Matrix.

Schwachheit(Flotte)

Post-Multipliziert eine skewY Transformation auf der aktuellen Matrix und kehrt die resultierende Matrix zurück.

[DOMName("skewY")]
public SVGMatrix SkewY(float angle)

Parameters

angle float

Der Winkel.

Returns

SVGMatrix

Der Skew-Angel.

ToString()

Wiederherstellt eine System.String, die diese Instanz darstellt.

public override string ToString()

Returns

string

Ein System.String, der diese Instanz vertritt.

Translate(Flotte und Flotte)

Post-multipliert eine Übersetzungstransformation auf der aktuellen Matrix und kehrt die resultierende Matrix zurück.

[DOMName("translate")]
public SVGMatrix Translate(float x, float y)

Parameters

x float

Die Entfernung zum Übersetzen entlang der X-Axis.

y float

Die Entfernung zum Übersetzen entlang der Y-Axis.

Returns

SVGMatrix

Die resultierende Matrix.

 Deutsch