Package system.drawing
Class SizeF
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.drawing.SizeF
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SizeF extends ValueType
The base .NET class managing System.Drawing.SizeF, System.Drawing.Primitives, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.SizeF
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: System.Drawing.Primitives, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Drawing.Primitivesstatic java.lang.StringclassNameQualified class name: System.Drawing.SizeFstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SizeFAdd(SizeF sz1, SizeF sz2)static SizeFcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSizeF, a cast assert is made to check if types are compatible.booleanEquals(SizeF other)SinglegetHeight()booleangetIsEmpty()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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeSinglegetWidth()voidsetHeight(Single Height)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)voidsetWidth(Single Width)static SizeFSubtract(SizeF sz1, SizeF sz2)PointFToPointF()SizeToSize()Vector2ToVector2()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Drawing.Primitives, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Drawing.Primitives- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Drawing.SizeF- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
SizeF
public SizeF(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SizeF
public SizeF() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SizeF
public SizeF(Single width, Single height) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SizeF
public SizeF(PointF pt) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SizeF
public SizeF(SizeF size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SizeF
public SizeF(Vector2 vector) 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 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 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 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 interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SizeF cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSizeF, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SizeFinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(SizeF other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToPointF
public PointF ToPointF() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSize
public Size ToSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public static SizeF Add(SizeF sz1, SizeF sz2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static SizeF Subtract(SizeF sz1, SizeF sz2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToVector2
public Vector2 ToVector2() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedException
-
getIsEmpty
public boolean getIsEmpty() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getHeight
public Single getHeight() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHeight
public void setHeight(Single Height) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWidth
public Single getWidth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setWidth
public void setWidth(Single Width) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-