public class PointF extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Drawing.PointF
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: System.Drawing.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Drawing.Primitives
|
static java.lang.String |
className
Qualified class name: System.Drawing.PointF
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PointF() |
PointF(java.lang.Object instance)
Internal constructor.
|
PointF(Single x,
Single y)
Initializes a new instance by invoking the .NET constructor.
|
PointF(Vector2 vector)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PointF |
Add(PointF pt,
Size sz)
Invokes the .NET member Add.
|
static PointF |
Add(PointF pt,
SizeF sz)
Invokes the .NET member Add.
|
static PointF |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PointF, a cast assert is made to check if types are compatible. |
boolean |
Equals(PointF other)
Invokes the .NET member Equals.
|
boolean |
getIsEmpty()
Gets the value of the .NET property IsEmpty.
|
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 |
getX()
Gets the value of the .NET property X.
|
Single |
getY()
Gets the value of the .NET property Y.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setX(Single X)
Sets the value of the .NET property X.
|
void |
setY(Single Y)
Sets the value of the .NET property Y.
|
static PointF |
Subtract(PointF pt,
Size sz)
Invokes the .NET member Subtract.
|
static PointF |
Subtract(PointF pt,
SizeF sz)
Invokes the .NET member Subtract.
|
Vector2 |
ToVector2()
Invokes the .NET member ToVector2.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PointF()
throws java.lang.Throwable
java.lang.Throwablepublic PointF(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 PointF(Single x, Single y) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the .NET constructor failspublic PointF(Vector2 vector) throws java.lang.Throwable
vector - the argument of type Vector2java.lang.Throwable - if the .NET constructor failspublic static PointF Add(PointF pt, Size sz) throws java.lang.Throwable
pt - the argument of type PointFsz - the argument of type Sizejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PointF Add(PointF pt, SizeF sz) throws java.lang.Throwable
pt - the argument of type PointFsz - the argument of type SizeFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PointF cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PointF, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPointF instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(PointF other) throws java.lang.Throwable
other - the argument of type PointFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsEmpty()
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 getX() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getY() 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 setX(Single X) throws java.lang.Throwable
X - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setY(Single Y) throws java.lang.Throwable
Y - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PointF Subtract(PointF pt, Size sz) throws java.lang.Throwable
pt - the argument of type PointFsz - the argument of type Sizejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PointF Subtract(PointF pt, SizeF sz) throws java.lang.Throwable
pt - the argument of type PointFsz - the argument of type SizeFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Vector2 ToVector2() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLR