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, Version=4.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.StringassemblyFullNameFully assembly qualified name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Drawingstatic java.lang.StringclassNameQualified class name: System.Drawing.RectangleFstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RectangleF()RectangleF(java.lang.Object instance)Internal constructor.RectangleF(PointF location, SizeF size)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 RectangleFcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRectangleF, a cast assert is made to check if types are compatible.booleanContains(PointF pt)booleanContains(RectangleF rect)booleanContains(Single x, Single y)static RectangleFFromLTRB(Single left, Single top, Single right, Single bottom)SinglegetBottom()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 objectJCTypegetJCOType()Returns the instantiated class TypeSinglegetLeft()PointFgetLocation()SinglegetRight()SizeFgetSize()SinglegetTop()SinglegetWidth()SinglegetX()SinglegetY()static RectangleFInflate(RectangleF rect, Single x, Single y)voidInflate(SizeF size)voidInflate(Single x, Single y)voidIntersect(RectangleF rect)static RectangleFIntersect(RectangleF a, RectangleF b)booleanIntersectsWith(RectangleF rect)voidOffset(PointF pos)voidOffset(Single x, Single y)voidsetHeight(Single Height)voidsetJCOInstance(JCObject instance)voidsetLocation(PointF Location)voidsetSize(SizeF Size)voidsetWidth(Single Width)voidsetX(Single X)voidsetY(Single Y)static RectangleFUnion(RectangleF a, RectangleF b)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Drawing- 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.ThrowableInternal 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
-
-
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(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public 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 RectangleF cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRectangleF, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
RectangleFinstance- 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
-
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
- Throws:
java.lang.Throwable
-
Union
public static RectangleF Union(RectangleF a, RectangleF b) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
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
- Throws:
java.lang.Throwable
-
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
-
-