Package system.drawing
Class RectangleF
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.drawing.RectangleF
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class RectangleF extends ValueType
The base .NET class managing System.Drawing.RectangleF, System.Drawing.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.RectangleF
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: System.Drawing.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Drawing.Primitivesstatic java.lang.String
className
Qualified class name: System.Drawing.RectangleFstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RectangleF()
RectangleF(java.lang.Object instance)
Internal constructor.RectangleF(PointF location, SizeF size)
RectangleF(Vector4 vector)
RectangleF(Single x, Single y, Single width, Single height)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RectangleF
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRectangleF
, a cast assert is made to check if types are compatible.boolean
Contains(PointF pt)
boolean
Contains(RectangleF rect)
boolean
Contains(Single x, Single y)
boolean
Equals(RectangleF other)
static RectangleF
FromLTRB(Single left, Single top, Single right, Single bottom)
Single
getBottom()
Single
getHeight()
boolean
getIsEmpty()
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 TypeSingle
getLeft()
PointF
getLocation()
Single
getRight()
SizeF
getSize()
Single
getTop()
Single
getWidth()
Single
getX()
Single
getY()
static RectangleF
Inflate(RectangleF rect, Single x, Single y)
void
Inflate(SizeF size)
void
Inflate(Single x, Single y)
void
Intersect(RectangleF rect)
static RectangleF
Intersect(RectangleF a, RectangleF b)
boolean
IntersectsWith(RectangleF rect)
void
Offset(PointF pos)
void
Offset(Single x, Single y)
void
setHeight(Single Height)
void
setJCOInstance(JCObject instance)
void
setLocation(PointF Location)
void
setSize(SizeF Size)
void
setWidth(Single Width)
void
setX(Single X)
void
setY(Single Y)
Vector4
ToVector4()
static RectangleF
Union(RectangleF a, RectangleF b)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Drawing.Primitives, Version=9.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.RectangleF- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RectangleF
public RectangleF(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
RectangleF
public RectangleF() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RectangleF
public RectangleF(Single x, Single y, Single width, Single height) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RectangleF
public RectangleF(PointF location, SizeF size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RectangleF
public RectangleF(Vector4 vector) 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 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 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 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 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static RectangleF cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoRectangleF
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
RectangleF
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(Single x, Single y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Contains
public boolean Contains(PointF pt) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Contains
public boolean Contains(RectangleF rect) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Equals
public boolean Equals(RectangleF other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IntersectsWith
public boolean IntersectsWith(RectangleF rect) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
FromLTRB
public static RectangleF FromLTRB(Single left, Single top, Single right, Single bottom) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Inflate
public static RectangleF Inflate(RectangleF rect, Single x, Single y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Intersect
public static RectangleF Intersect(RectangleF a, RectangleF b) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Union
public static RectangleF Union(RectangleF a, RectangleF b) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
ToVector4
public Vector4 ToVector4() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
-
Inflate
public void Inflate(Single x, Single y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Inflate
public void Inflate(SizeF size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Intersect
public void Intersect(RectangleF rect) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Offset
public void Offset(Single x, Single y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Offset
public void Offset(PointF pos) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsEmpty
public boolean getIsEmpty() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBottom
public Single getBottom() 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
-
getLeft
public Single getLeft() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRight
public Single getRight() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTop
public Single getTop() 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
-
getX
public Single getX() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setX
public void setX(Single X) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getY
public Single getY() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setY
public void setY(Single Y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLocation
public PointF getLocation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLocation
public void setLocation(PointF Location) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSize
public SizeF getSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSize
public void setSize(SizeF Size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-