public class Matrix extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.Matrix
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsBase
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.Matrix
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Matrix() |
Matrix(double m11,
double m12,
double m21,
double m22,
double offsetX,
double offsetY)
Initializes a new instance by invoking the .NET constructor.
|
Matrix(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Append(Matrix matrix)
Invokes the .NET member Append.
|
static Matrix |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Matrix, a cast assert is made to check if types are compatible. |
boolean |
Equals(Matrix value)
Invokes the .NET member Equals.
|
static boolean |
Equals(Matrix matrix1,
Matrix matrix2)
Invokes the .NET member Equals.
|
double |
getDeterminant()
Gets the value of the .NET property Determinant.
|
boolean |
getHasInverse()
Gets the value of the .NET property HasInverse.
|
static Matrix |
getIdentity()
Gets the value of the .NET property Identity.
|
boolean |
getIsIdentity()
Gets the value of the .NET property IsIdentity.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
double |
getM11()
Gets the value of the .NET property M11.
|
double |
getM12()
Gets the value of the .NET property M12.
|
double |
getM21()
Gets the value of the .NET property M21.
|
double |
getM22()
Gets the value of the .NET property M22.
|
double |
getOffsetX()
Gets the value of the .NET property OffsetX.
|
double |
getOffsetY()
Gets the value of the .NET property OffsetY.
|
void |
Invert()
Invokes the .NET member Invert.
|
static Matrix |
Multiply(Matrix trans1,
Matrix trans2)
Invokes the .NET member Multiply.
|
static Matrix |
Parse(java.lang.String source)
Invokes the .NET member Parse.
|
void |
Prepend(Matrix matrix)
Invokes the .NET member Prepend.
|
void |
Rotate(double angle)
Invokes the .NET member Rotate.
|
void |
RotateAt(double angle,
double centerX,
double centerY)
Invokes the .NET member RotateAt.
|
void |
RotateAtPrepend(double angle,
double centerX,
double centerY)
Invokes the .NET member RotateAtPrepend.
|
void |
RotatePrepend(double angle)
Invokes the .NET member RotatePrepend.
|
void |
Scale(double scaleX,
double scaleY)
Invokes the .NET member Scale.
|
void |
ScaleAt(double scaleX,
double scaleY,
double centerX,
double centerY)
Invokes the .NET member ScaleAt.
|
void |
ScaleAtPrepend(double scaleX,
double scaleY,
double centerX,
double centerY)
Invokes the .NET member ScaleAtPrepend.
|
void |
ScalePrepend(double scaleX,
double scaleY)
Invokes the .NET member ScalePrepend.
|
void |
SetIdentity()
Invokes the .NET member SetIdentity.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setM11(double M11)
Sets the value of the .NET property M11.
|
void |
setM12(double M12)
Sets the value of the .NET property M12.
|
void |
setM21(double M21)
Sets the value of the .NET property M21.
|
void |
setM22(double M22)
Sets the value of the .NET property M22.
|
void |
setOffsetX(double OffsetX)
Sets the value of the .NET property OffsetX.
|
void |
setOffsetY(double OffsetY)
Sets the value of the .NET property OffsetY.
|
void |
Skew(double skewX,
double skewY)
Invokes the .NET member Skew.
|
void |
SkewPrepend(double skewX,
double skewY)
Invokes the .NET member SkewPrepend.
|
java.lang.String |
ToString(IFormatProvider provider)
Invokes the .NET member ToString.
|
Point |
Transform(Point point)
Invokes the .NET member Transform.
|
void |
Transform(Point[] points)
Invokes the .NET member Transform.
|
Vector |
Transform(Vector vector)
Invokes the .NET member Transform.
|
void |
Transform(Vector[] vectors)
Invokes the .NET member Transform.
|
void |
Translate(double offsetX,
double offsetY)
Invokes the .NET member Translate.
|
void |
TranslatePrepend(double offsetX,
double offsetY)
Invokes the .NET member TranslatePrepend.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Matrix()
throws java.lang.Throwable
java.lang.Throwablepublic Matrix(double m11,
double m12,
double m21,
double m22,
double offsetX,
double offsetY)
throws java.lang.Throwable
m11 - the argument of type doublem12 - the argument of type doublem21 - the argument of type doublem22 - the argument of type doubleoffsetX - the argument of type doubleoffsetY - the argument of type doublejava.lang.Throwable - if the .NET constructor failspublic Matrix(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Append(Matrix matrix) throws java.lang.Throwable
matrix - the argument of type Matrixjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Matrix cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Matrix, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMatrix instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(Matrix value) throws java.lang.Throwable
value - the argument of type Matrixjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean Equals(Matrix matrix1, Matrix matrix2) throws java.lang.Throwable
matrix1 - the argument of type Matrixmatrix2 - the argument of type Matrixjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getDeterminant()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasInverse()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Matrix getIdentity() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsIdentity()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic double getM11()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getM12()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getM21()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getM22()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getOffsetX()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getOffsetY()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Invert()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static Matrix Multiply(Matrix trans1, Matrix trans2) throws java.lang.Throwable
trans1 - the argument of type Matrixtrans2 - the argument of type Matrixjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Matrix Parse(java.lang.String source) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, FormatException
source - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void Prepend(Matrix matrix) throws java.lang.Throwable
matrix - the argument of type Matrixjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Rotate(double angle)
throws java.lang.Throwable
angle - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RotateAt(double angle,
double centerX,
double centerY)
throws java.lang.Throwable
angle - the argument of type doublecenterX - the argument of type doublecenterY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RotateAtPrepend(double angle,
double centerX,
double centerY)
throws java.lang.Throwable
angle - the argument of type doublecenterX - the argument of type doublecenterY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RotatePrepend(double angle)
throws java.lang.Throwable
angle - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Scale(double scaleX,
double scaleY)
throws java.lang.Throwable
scaleX - the argument of type doublescaleY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ScaleAt(double scaleX,
double scaleY,
double centerX,
double centerY)
throws java.lang.Throwable
scaleX - the argument of type doublescaleY - the argument of type doublecenterX - the argument of type doublecenterY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ScaleAtPrepend(double scaleX,
double scaleY,
double centerX,
double centerY)
throws java.lang.Throwable
scaleX - the argument of type doublescaleY - the argument of type doublecenterX - the argument of type doublecenterY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ScalePrepend(double scaleX,
double scaleY)
throws java.lang.Throwable
scaleX - the argument of type doublescaleY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SetIdentity()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic void setM11(double M11)
throws java.lang.Throwable
M11 - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setM12(double M12)
throws java.lang.Throwable
M12 - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setM21(double M21)
throws java.lang.Throwable
M21 - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setM22(double M22)
throws java.lang.Throwable
M22 - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setOffsetX(double OffsetX)
throws java.lang.Throwable
OffsetX - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setOffsetY(double OffsetY)
throws java.lang.Throwable
OffsetY - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Skew(double skewX,
double skewY)
throws java.lang.Throwable
skewX - the argument of type doubleskewY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SkewPrepend(double skewX,
double skewY)
throws java.lang.Throwable
skewX - the argument of type doubleskewY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, FormatException
provider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Point Transform(Point point) throws java.lang.Throwable
point - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Transform(Point[] points) throws java.lang.Throwable
points - the argument of type Point[]java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Vector Transform(Vector vector) throws java.lang.Throwable
vector - the argument of type Vectorjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Transform(Vector[] vectors) throws java.lang.Throwable
vectors - the argument of type Vector[]java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Translate(double offsetX,
double offsetY)
throws java.lang.Throwable
offsetX - the argument of type doubleoffsetY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void TranslatePrepend(double offsetX,
double offsetY)
throws java.lang.Throwable
offsetX - the argument of type doubleoffsetY - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLR