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=8.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.String
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: WindowsBasestatic java.lang.String
className
Qualified class name: System.Windows.Media.Matrixstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Append(Matrix matrix)
static Matrix
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoMatrix
, a cast assert is made to check if types are compatible.boolean
Equals(Matrix value)
static boolean
Equals(Matrix matrix1, Matrix matrix2)
double
getDeterminant()
boolean
getHasInverse()
static Matrix
getIdentity()
boolean
getIsIdentity()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typedouble
getM11()
double
getM12()
double
getM21()
double
getM22()
double
getOffsetX()
double
getOffsetY()
void
Invert()
static Matrix
Multiply(Matrix trans1, Matrix trans2)
static Matrix
Parse(java.lang.String source)
void
Prepend(Matrix matrix)
void
Rotate(double angle)
void
RotateAt(double angle, double centerX, double centerY)
void
RotateAtPrepend(double angle, double centerX, double centerY)
void
RotatePrepend(double angle)
void
Scale(double scaleX, double scaleY)
void
ScaleAt(double scaleX, double scaleY, double centerX, double centerY)
void
ScaleAtPrepend(double scaleX, double scaleY, double centerX, double centerY)
void
ScalePrepend(double scaleX, double scaleY)
void
SetIdentity()
void
setJCOInstance(JCObject instance)
void
setM11(double M11)
void
setM12(double M12)
void
setM21(double M21)
void
setM22(double M22)
void
setOffsetX(double OffsetX)
void
setOffsetY(double OffsetY)
void
Skew(double skewX, double skewY)
void
SkewPrepend(double skewX, double skewY)
java.lang.String
ToString(IFormatProvider provider)
Point
Transform(Point point)
void
Transform(Point[] points)
Vector
Transform(Vector vector)
void
Transform(Vector[] vectors)
void
Translate(double offsetX, double offsetY)
void
TranslatePrepend(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=8.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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIFormattable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIFormattable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIFormattable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIFormattable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIFormattable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Matrix cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoMatrix
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Matrix
instance- 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, OutOfMemoryException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, 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, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, 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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException
-
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.Throwable
NotSupportedException
PlatformNotSupportedException
-
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
-
-