public class Rectangle extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Drawing.Rectangle
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.Rectangle
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Rectangle() |
Rectangle(int x,
int y,
int width,
int height) |
Rectangle(java.lang.Object instance)
Internal constructor.
|
Rectangle(Point location,
Size size) |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Rectangle, a cast assert is made to check if types are compatible. |
static Rectangle |
Ceiling(RectangleF value) |
boolean |
Contains(int x,
int y) |
boolean |
Contains(Point pt) |
boolean |
Contains(Rectangle rect) |
boolean |
Equals(Rectangle other) |
static Rectangle |
FromLTRB(int left,
int top,
int right,
int bottom) |
int |
getBottom() |
int |
getHeight() |
boolean |
getIsEmpty() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLeft() |
Point |
getLocation() |
int |
getRight() |
Size |
getSize() |
int |
getTop() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
Inflate(int width,
int height) |
static Rectangle |
Inflate(Rectangle rect,
int x,
int y) |
void |
Inflate(Size size) |
void |
Intersect(Rectangle rect) |
static Rectangle |
Intersect(Rectangle a,
Rectangle b) |
boolean |
IntersectsWith(Rectangle rect) |
void |
Offset(int x,
int y) |
void |
Offset(Point pos) |
static Rectangle |
Round(RectangleF value) |
void |
setHeight(int Height) |
void |
setJCOInstance(JCObject instance) |
void |
setLocation(Point Location) |
void |
setSize(Size Size) |
void |
setWidth(int Width) |
void |
setX(int X) |
void |
setY(int Y) |
static Rectangle |
Truncate(RectangleF value) |
static Rectangle |
Union(Rectangle a,
Rectangle b) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Rectangle()
throws java.lang.Throwable
java.lang.Throwablepublic Rectangle(int x,
int y,
int width,
int height)
throws java.lang.Throwable
java.lang.Throwablepublic Rectangle(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Rectangle cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Rectangle, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRectangle instancejava.lang.Throwable - in case of error during cast operationpublic static Rectangle Ceiling(RectangleF value) throws java.lang.Throwable
java.lang.Throwablepublic boolean Contains(int x,
int y)
throws java.lang.Throwable
java.lang.Throwablepublic boolean Contains(Point pt) throws java.lang.Throwable
java.lang.Throwablepublic boolean Contains(Rectangle rect) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(Rectangle other) throws java.lang.Throwable
java.lang.Throwablepublic static Rectangle FromLTRB(int left, int top, int right, int bottom) throws java.lang.Throwable
java.lang.Throwablepublic int getBottom()
throws java.lang.Throwable
java.lang.Throwablepublic int getHeight()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic int getLeft()
throws java.lang.Throwable
java.lang.Throwablepublic Point getLocation() throws java.lang.Throwable
java.lang.Throwablepublic int getRight()
throws java.lang.Throwable
java.lang.Throwablepublic Size getSize() throws java.lang.Throwable
java.lang.Throwablepublic int getTop()
throws java.lang.Throwable
java.lang.Throwablepublic int getWidth()
throws java.lang.Throwable
java.lang.Throwablepublic int getX()
throws java.lang.Throwable
java.lang.Throwablepublic int getY()
throws java.lang.Throwable
java.lang.Throwablepublic void Inflate(int width,
int height)
throws java.lang.Throwable
java.lang.Throwablepublic static Rectangle Inflate(Rectangle rect, int x, int y) throws java.lang.Throwable
java.lang.Throwablepublic void Inflate(Size size) throws java.lang.Throwable
java.lang.Throwablepublic void Intersect(Rectangle rect) throws java.lang.Throwable
java.lang.Throwablepublic static Rectangle Intersect(Rectangle a, Rectangle b) throws java.lang.Throwable
java.lang.Throwablepublic boolean IntersectsWith(Rectangle rect) throws java.lang.Throwable
java.lang.Throwablepublic void Offset(int x,
int y)
throws java.lang.Throwable
java.lang.Throwablepublic void Offset(Point pos) throws java.lang.Throwable
java.lang.Throwablepublic static Rectangle Round(RectangleF value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void setHeight(int Height)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic void setLocation(Point Location) throws java.lang.Throwable
java.lang.Throwablepublic void setSize(Size Size) throws java.lang.Throwable
java.lang.Throwablepublic void setWidth(int Width)
throws java.lang.Throwable
java.lang.Throwablepublic void setX(int X)
throws java.lang.Throwable
java.lang.Throwablepublic void setY(int Y)
throws java.lang.Throwable
java.lang.Throwablepublic static Rectangle Truncate(RectangleF value) throws java.lang.Throwable
java.lang.Throwable