RectangleExtensions
Inheritance: java.lang.Object
public final class RectangleExtensions
Contains extension methods for Rectangle .
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toGdiRectangle(Rectangle rectangle) | Converts the Rectangle to the System.Drawing.Rectangle . |
toGdiRectangle(RectangleF rectangle) | Converts the RectangleF to the System.Drawing.Rectangle . |
toString() | |
unionWith(RectangleF rectangle, RectangleF otherRectangle) | Unions two rectangle. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toGdiRectangle(Rectangle rectangle)
public static Rectangle toGdiRectangle(Rectangle rectangle)
Converts the Rectangle to the System.Drawing.Rectangle .
Parameters:
Parameter | Type | Description |
---|---|---|
rectangle | Rectangle | The rectangle to convert. |
Returns: Rectangle - The converted System.Drawing.Rectangle .
toGdiRectangle(RectangleF rectangle)
public static Rectangle2D.Float toGdiRectangle(RectangleF rectangle)
Converts the RectangleF to the System.Drawing.Rectangle .
Parameters:
Parameter | Type | Description |
---|---|---|
rectangle | RectangleF | The rectangle to convert. |
Returns: java.awt.geom.Rectangle2D.Float - The converted System.Drawing.RectangleF .
toString()
public String toString()
Returns: java.lang.String
unionWith(RectangleF rectangle, RectangleF otherRectangle)
public static RectangleF unionWith(RectangleF rectangle, RectangleF otherRectangle)
Unions two rectangle.
Parameters:
Parameter | Type | Description |
---|---|---|
rectangle | RectangleF | The first rectangle. |
otherRectangle | RectangleF | The second rectangle. |
Returns: RectangleF - New rectangle as union operation result
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |