Struct KurboAffine
Namespace: VelloSharp
Assembly: VelloSharp.dll
public readonly struct KurboAffine
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
KurboAffine(double, double, double, double, double, double)
public KurboAffine(double m11, double m12, double m21, double m22, double dx, double dy)
Parameters
m11 double
m12 double
m21 double
m22 double
dx double
dy double
Properties
Dx
public double Dx { get; }
Property Value
Dy
public double Dy { get; }
Property Value
Identity
public static KurboAffine Identity { get; }
Property Value
M11
public double M11 { get; }
Property Value
M12
public double M12 { get; }
Property Value
M21
public double M21 { get; }
Property Value
M22
public double M22 { get; }
Property Value
Methods
FromMatrix3x2(in Matrix3x2)
public static KurboAffine FromMatrix3x2(in Matrix3x2 matrix)
Parameters
matrix Matrix3x2
Returns
Invert()
public KurboAffine Invert()
Returns
Multiply(KurboAffine)
public KurboAffine Multiply(KurboAffine other)
Parameters
other KurboAffine
Returns
ToMatrix3x2()
public Matrix3x2 ToMatrix3x2()
Returns
TransformPoint(KurboPoint)
public KurboPoint TransformPoint(KurboPoint point)
Parameters
point KurboPoint
Returns
TransformVector(KurboVec2)
public KurboVec2 TransformVector(KurboVec2 vector)
Parameters
vector KurboVec2