public class RectangleF extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Drawing.RectangleF
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=9.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.RectangleF
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RectangleF() |
RectangleF(java.lang.Object instance)
Internal constructor.
|
RectangleF(PointF location,
SizeF size)
Initializes a new instance by invoking the .NET constructor.
|
RectangleF(Single x,
Single y,
Single width,
Single height)
Initializes a new instance by invoking the .NET constructor.
|
RectangleF(Vector4 vector)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RectangleF |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RectangleF, a cast assert is made to check if types are compatible. |
boolean |
Contains(PointF pt)
Invokes the .NET member Contains.
|
boolean |
Contains(RectangleF rect)
Invokes the .NET member Contains.
|
boolean |
Contains(Single x,
Single y)
Invokes the .NET member Contains.
|
boolean |
Equals(RectangleF other)
Invokes the .NET member Equals.
|
static RectangleF |
FromLTRB(Single left,
Single top,
Single right,
Single bottom)
Invokes the .NET member FromLTRB.
|
Single |
getBottom()
Gets the value of the .NET property Bottom.
|
Single |
getHeight()
Gets the value of the .NET property Height.
|
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 |
getLeft()
Gets the value of the .NET property Left.
|
PointF |
getLocation()
Gets the value of the .NET property Location.
|
Single |
getRight()
Gets the value of the .NET property Right.
|
SizeF |
getSize()
Gets the value of the .NET property Size.
|
Single |
getTop()
Gets the value of the .NET property Top.
|
Single |
getWidth()
Gets the value of the .NET property Width.
|
Single |
getX()
Gets the value of the .NET property X.
|
Single |
getY()
Gets the value of the .NET property Y.
|
static RectangleF |
Inflate(RectangleF rect,
Single x,
Single y)
Invokes the .NET member Inflate.
|
void |
Inflate(Single x,
Single y)
Invokes the .NET member Inflate.
|
void |
Inflate(SizeF size)
Invokes the .NET member Inflate.
|
void |
Intersect(RectangleF rect)
Invokes the .NET member Intersect.
|
static RectangleF |
Intersect(RectangleF a,
RectangleF b)
Invokes the .NET member Intersect.
|
boolean |
IntersectsWith(RectangleF rect)
Invokes the .NET member IntersectsWith.
|
void |
Offset(PointF pos)
Invokes the .NET member Offset.
|
void |
Offset(Single x,
Single y)
Invokes the .NET member Offset.
|
void |
setHeight(Single Height)
Sets the value of the .NET property Height.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLocation(PointF Location)
Sets the value of the .NET property Location.
|
void |
setSize(SizeF Size)
Sets the value of the .NET property Size.
|
void |
setWidth(Single Width)
Sets the value of the .NET property Width.
|
void |
setX(Single X)
Sets the value of the .NET property X.
|
void |
setY(Single Y)
Sets the value of the .NET property Y.
|
Vector4 |
ToVector4()
Invokes the .NET member ToVector4.
|
static RectangleF |
Union(RectangleF a,
RectangleF b)
Invokes the .NET member Union.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RectangleF()
throws java.lang.Throwable
java.lang.Throwablepublic RectangleF(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 RectangleF(PointF location, SizeF size) throws java.lang.Throwable
location - the argument of type PointFsize - the argument of type SizeFjava.lang.Throwable - if the .NET constructor failspublic RectangleF(Single x, Single y, Single width, Single height) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlewidth - the argument of type Singleheight - the argument of type Singlejava.lang.Throwable - if the .NET constructor failspublic RectangleF(Vector4 vector) throws java.lang.Throwable
vector - the argument of type Vector4java.lang.Throwable - if the .NET constructor failspublic static RectangleF cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RectangleF, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRectangleF instancejava.lang.Throwable - in case of error during cast operationpublic boolean Contains(PointF pt) throws java.lang.Throwable
pt - the argument of type PointFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Contains(RectangleF rect) throws java.lang.Throwable
rect - the argument of type RectangleFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Contains(Single x, Single y) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Equals(RectangleF other) throws java.lang.Throwable
other - the argument of type RectangleFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static RectangleF FromLTRB(Single left, Single top, Single right, Single bottom) throws java.lang.Throwable
left - the argument of type Singletop - the argument of type Singleright - the argument of type Singlebottom - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getBottom() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getHeight() throws java.lang.Throwable
java.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 getLeft() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PointF getLocation() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getRight() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SizeF getSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getTop() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single getWidth() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 static RectangleF Inflate(RectangleF rect, Single x, Single y) throws java.lang.Throwable
rect - the argument of type RectangleFx - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Inflate(Single x, Single y) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Inflate(SizeF size) throws java.lang.Throwable
size - the argument of type SizeFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Intersect(RectangleF rect) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
rect - the argument of type RectangleFjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static RectangleF Intersect(RectangleF a, RectangleF b) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
a - the argument of type RectangleFb - the argument of type RectangleFjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean IntersectsWith(RectangleF rect) throws java.lang.Throwable
rect - the argument of type RectangleFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Offset(PointF pos) throws java.lang.Throwable
pos - the argument of type PointFjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Offset(Single x, Single y) throws java.lang.Throwable
x - the argument of type Singley - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHeight(Single Height) throws java.lang.Throwable
Height - 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 setLocation(PointF Location) throws java.lang.Throwable
Location - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSize(SizeF Size) throws java.lang.Throwable
Size - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWidth(Single Width) throws java.lang.Throwable
Width - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 Vector4 ToVector4() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static RectangleF Union(RectangleF a, RectangleF b) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
a - the argument of type RectangleFb - the argument of type RectangleFjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises it