Package system.windows.media
Class Matrix
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.windows.media.Matrix
-
- All Implemented Interfaces:
IJCOBridgeReflected,IFormattable
public class Matrix extends ValueType implements IFormattable
The base .NET class managing System.Windows.Media.Matrix, WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Matrix
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: WindowsBasestatic java.lang.StringclassNameQualified class name: System.Windows.Media.Matrixstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAppend(Matrix matrix)static Matrixcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMatrix, a cast assert is made to check if types are compatible.booleanEquals(Matrix value)static booleanEquals(Matrix matrix1, Matrix matrix2)doublegetDeterminant()booleangetHasInverse()static MatrixgetIdentity()booleangetIsIdentity()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypedoublegetM11()doublegetM12()doublegetM21()doublegetM22()doublegetOffsetX()doublegetOffsetY()voidInvert()static MatrixMultiply(Matrix trans1, Matrix trans2)static MatrixParse(java.lang.String source)voidPrepend(Matrix matrix)voidRotate(double angle)voidRotateAt(double angle, double centerX, double centerY)voidRotateAtPrepend(double angle, double centerX, double centerY)voidRotatePrepend(double angle)voidScale(double scaleX, double scaleY)voidScaleAt(double scaleX, double scaleY, double centerX, double centerY)voidScaleAtPrepend(double scaleX, double scaleY, double centerX, double centerY)voidScalePrepend(double scaleX, double scaleY)voidSetIdentity()voidsetJCOInstance(JCObject instance)voidsetM11(double M11)voidsetM12(double M12)voidsetM21(double M21)voidsetM22(double M22)voidsetOffsetX(double OffsetX)voidsetOffsetY(double OffsetY)voidSkew(double skewX, double skewY)voidSkewPrepend(double skewX, double skewY)java.lang.StringToString(IFormatProvider provider)PointTransform(Point point)voidTransform(Point[] points)VectorTransform(Vector vector)voidTransform(Vector[] vectors)voidTranslate(double offsetX, double offsetY)voidTranslatePrepend(double offsetX, double offsetY)-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IFormattable
ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: WindowsBase- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Media.Matrix- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Matrix
public Matrix(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Matrix
public Matrix() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Matrix
public Matrix(double m11, double m12, double m21, double m22, double offsetX, double offsetY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIFormattable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIFormattable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIFormattable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIFormattable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIFormattable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Matrix cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMatrix, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Matrixinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public static boolean Equals(Matrix matrix1, Matrix matrix2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Equals
public boolean Equals(Matrix value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
-
Multiply
public static Matrix Multiply(Matrix trans1, Matrix trans2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Parse
public static Matrix Parse(java.lang.String source) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, FormatException
-
Transform
public Point Transform(Point point) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public Vector Transform(Vector vector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Append
public void Append(Matrix matrix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Invert
public void Invert() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
Prepend
public void Prepend(Matrix matrix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Rotate
public void Rotate(double angle) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
RotateAt
public void RotateAt(double angle, double centerX, double centerY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
RotateAtPrepend
public void RotateAtPrepend(double angle, double centerX, double centerY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
RotatePrepend
public void RotatePrepend(double angle) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Scale
public void Scale(double scaleX, double scaleY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ScaleAt
public void ScaleAt(double scaleX, double scaleY, double centerX, double centerY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ScaleAtPrepend
public void ScaleAtPrepend(double scaleX, double scaleY, double centerX, double centerY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ScalePrepend
public void ScalePrepend(double scaleX, double scaleY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetIdentity
public void SetIdentity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Skew
public void Skew(double skewX, double skewY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SkewPrepend
public void SkewPrepend(double skewX, double skewY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Transform
public void Transform(Point[] points) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public void Transform(Vector[] vectors) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Translate
public void Translate(double offsetX, double offsetY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
TranslatePrepend
public void TranslatePrepend(double offsetX, double offsetY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getHasInverse
public boolean getHasInverse() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException- Throws:
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedException
-
getIsIdentity
public boolean getIsIdentity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDeterminant
public double getDeterminant() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getM11
public double getM11() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setM11
public void setM11(double M11) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getM12
public double getM12() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setM12
public void setM12(double M12) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getM21
public double getM21() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setM21
public void setM21(double M21) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getM22
public double getM22() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setM22
public void setM22(double M22) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOffsetX
public double getOffsetX() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOffsetX
public void setOffsetX(double OffsetX) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOffsetY
public double getOffsetY() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOffsetY
public void setOffsetY(double OffsetY) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIdentity
public static Matrix getIdentity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-