|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.qd.QDDimension
This class represents a width and height dimension.
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
QDDimension()
Creates an instance of QDDimension with a width of zero and a height of zero. |
|
QDDimension(float width,
float height)
Constructs a QDDimension and initializes it to the specified width and specified height. |
|
QDDimension(int width,
int height)
Constructs a QDDimension and initializes it to the specified width and specified height. |
Method Summary | |
java.lang.Object |
clone()
Return a copy of the QDDimension |
QDDimension |
copy()
Returns a copy of the QDDimension with the correct return type. |
boolean |
equals(java.lang.Object obj)
Checks whether two dimension objects have equal values. |
static EndianDescriptor |
getEndianDescriptor()
Returns the EndianDescriptor for QDRect Rect. |
int |
getHeight()
Gets the height of this QDDimension object. |
float |
getHeightF()
Gets the height of this QDDimension object. |
int |
getWidth()
Gets the width of this QDDimension object. |
float |
getWidthF()
Gets the width of this QDDimension object. |
void |
setHeight(float height)
Set the height. |
void |
setHeight(int height)
Set the height. |
void |
setWidth(float width)
Set the width. |
void |
setWidth(int width)
Set the width. |
java.lang.String |
toString()
Returns a string representation of this object |
Methods inherited from class quicktime.util.QTByteObject |
fromArray, getBytes, getSize |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QDDimension()
public QDDimension(int width, int height)
width
- the specified width dimensionheight
- the specified height dimensionpublic QDDimension(float width, float height)
width
- the specified width dimensionheight
- the specified height dimensionMethod Detail |
public static final EndianDescriptor getEndianDescriptor()
public int getWidth()
public float getWidthF()
public int getHeight()
public float getHeightF()
public void setWidth(int width)
width
- the new width for this QDDimension object.public void setWidth(float width)
width
- the new width for this QDDimension object.public void setHeight(int height)
height
- the new height for this QDDimension object.public void setHeight(float height)
height
- the new height for this QDDimension object.public java.lang.Object clone()
public QDDimension copy()
public boolean equals(java.lang.Object obj)
equals
in class QTByteObject
public java.lang.String toString()
QTByteObject
toString
in class QTByteObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |