public class StylusPoint extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Input.StylusPoint
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: PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Input.StylusPoint
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
StylusPoint() |
StylusPoint(double x,
double y)
Initializes a new instance by invoking the .NET constructor.
|
StylusPoint(double x,
double y,
Single pressureFactor)
Initializes a new instance by invoking the .NET constructor.
|
StylusPoint(double x,
double y,
Single pressureFactor,
StylusPointDescription stylusPointDescription,
int[] additionalValues)
Initializes a new instance by invoking the .NET constructor.
|
StylusPoint(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static StylusPoint |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into StylusPoint, a cast assert is made to check if types are compatible. |
boolean |
Equals(StylusPoint value)
Invokes the .NET member Equals.
|
static boolean |
Equals(StylusPoint stylusPoint1,
StylusPoint stylusPoint2)
Invokes the .NET member Equals.
|
StylusPointDescription |
getDescription()
Gets the value of the .NET property Description.
|
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. |
Single |
getPressureFactor()
Gets the value of the .NET property PressureFactor.
|
int |
GetPropertyValue(StylusPointProperty stylusPointProperty)
Invokes the .NET member GetPropertyValue.
|
double |
getX()
Gets the value of the .NET property X.
|
double |
getY()
Gets the value of the .NET property Y.
|
boolean |
HasProperty(StylusPointProperty stylusPointProperty)
Invokes the .NET member HasProperty.
|
void |
setDescription(StylusPointDescription Description)
Sets the value of the .NET property Description.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setPressureFactor(Single PressureFactor)
Sets the value of the .NET property PressureFactor.
|
void |
SetPropertyValue(StylusPointProperty stylusPointProperty,
int value)
Invokes the .NET member SetPropertyValue.
|
void |
setX(double X)
Sets the value of the .NET property X.
|
void |
setY(double Y)
Sets the value of the .NET property Y.
|
Point |
ToPoint()
Invokes the .NET member ToPoint.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public StylusPoint()
throws java.lang.Throwable
java.lang.Throwablepublic StylusPoint(double x,
double y)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
x - the argument of type doubley - the argument of type doublejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic StylusPoint(double x,
double y,
Single pressureFactor)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
x - the argument of type doubley - the argument of type doublepressureFactor - the argument of type Singlejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic StylusPoint(double x,
double y,
Single pressureFactor,
StylusPointDescription stylusPointDescription,
int[] additionalValues)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
x - the argument of type doubley - the argument of type doublepressureFactor - the argument of type SinglestylusPointDescription - the argument of type StylusPointDescriptionadditionalValues - the argument of type int[]java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic StylusPoint(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 static StylusPoint cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into StylusPoint, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStylusPoint instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(StylusPoint value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
value - the argument of type StylusPointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static boolean Equals(StylusPoint stylusPoint1, StylusPoint stylusPoint2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
stylusPoint1 - the argument of type StylusPointstylusPoint2 - the argument of type StylusPointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic StylusPointDescription getDescription() 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 Single getPressureFactor() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetPropertyValue(StylusPointProperty stylusPointProperty) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
stylusPointProperty - the argument of type StylusPointPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic double getX()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getY()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean HasProperty(StylusPointProperty stylusPointProperty) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
stylusPointProperty - the argument of type StylusPointPropertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setDescription(StylusPointDescription Description) throws java.lang.Throwable
Description - the new value of the propertyjava.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 setPressureFactor(Single PressureFactor) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
PressureFactor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void SetPropertyValue(StylusPointProperty stylusPointProperty, int value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
stylusPointProperty - the argument of type StylusPointPropertyvalue - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setX(double X)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
X - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setY(double Y)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Y - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Point ToPoint() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLR