public class Rect
extends com.jniwrapper.Structure
RECT
structure.Constructor and Description |
---|
Rect() |
Rect(long left,
long top,
long right,
long bottom) |
Rect(Rect that) |
Rect(java.awt.Rectangle rectangle) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Rect anotherRect) |
Rect |
centerRect(Size innerRect) |
java.lang.Object |
clone() |
long |
getBottom() |
int |
getBottomAsInt() |
int |
getHeight() |
long |
getLeft() |
int |
getLeftAsInt() |
long |
getRight() |
int |
getRightAsInt() |
long |
getTop() |
int |
getTopAsInt() |
int |
getWidth() |
void |
moveBy(int deltaX,
int deltaY) |
void |
moveTo(long left,
long top) |
void |
setBottom(long value) |
void |
setBounds(int left,
int top,
int right,
int bottom) |
void |
setBounds(java.awt.Rectangle rectangle) |
void |
setLeft(long value) |
void |
setRight(long value) |
void |
setTop(long value) |
java.lang.String |
toString() |
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
public Rect()
public Rect(Rect that)
public Rect(long left, long top, long right, long bottom)
public Rect(java.awt.Rectangle rectangle)
public void setLeft(long value)
public long getLeft()
public void setTop(long value)
public long getTop()
public void setRight(long value)
public long getRight()
public void setBottom(long value)
public long getBottom()
public void moveTo(long left, long top)
public void moveBy(int deltaX, int deltaY)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure
public void assign(Rect anotherRect)
public void setBounds(int left, int top, int right, int bottom)
public void setBounds(java.awt.Rectangle rectangle)
public int getWidth()
public int getHeight()
public int getLeftAsInt()
public int getTopAsInt()
public int getBottomAsInt()
public int getRightAsInt()