quicktime.std.image
Class GraphicsMode
java.lang.Object
|
+--quicktime.util.QTByteObject
|
+--quicktime.std.image.GraphicsMode
- All Implemented Interfaces:
- java.lang.Cloneable, quicktime.jdirect.InterfaceLib, quicktime.jdirect.PrimitivesLib, quicktime.jdirect.QuickTimeLib, java.io.Serializable, quicktime.jdirect.SharedLibrary, com.apple.jdirect.SharedLibrary
- public final class GraphicsMode
- extends QTByteObject
- implements quicktime.jdirect.QuickTimeLib, java.lang.Cloneable
The GraphicsMode class implements details that describe transfer operations and
transperancy operations.
refer to ModifierTrackGraphicsMode in QuickTime
- See Also:
quicktime.qd.QD
, Serialized Form
Field Summary |
static int |
kNativeSize
This is the size (the number of bytes) that are required for this class |
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary |
GraphicsMode()
This constructor creates an empty GraphicsMode object. |
GraphicsMode(int gMode,
QDColor opColor)
This constructor creates a GraphicsMode object for specified mode and operand color. |
Method Summary |
java.lang.Object |
clone()
Return a copy of the GraphicsMode object. |
QDColor |
getColor()
This method returns the operand mode |
int |
getGraphicsMode()
This method returns the graphics mode |
boolean |
isGraphicsModeOpaque()
Returns true if the current mode is opaque, otherwise false. |
void |
setColor(QDColor newColor)
This method sets the operand color. |
void |
setGraphicsMode(int mode)
This method sets the graphics mode (such as srcCopy, srcOr, etc) |
java.lang.String |
toString()
Returns the String representation of this Rectangle's values. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
GraphicsMode
public GraphicsMode()
- This constructor creates an empty GraphicsMode object.
GraphicsMode
public GraphicsMode(int gMode,
QDColor opColor)
- This constructor creates a GraphicsMode object for specified mode and operand color.
- Parameters:
gMode
- Specifies the graphics mode.opColor
- Specifies the operand color.
setGraphicsMode
public void setGraphicsMode(int mode)
- This method sets the graphics mode (such as srcCopy, srcOr, etc)
- Parameters:
mode
- Specifies the new graphics mode.
getGraphicsMode
public int getGraphicsMode()
- This method returns the graphics mode
- Returns:
- the graphics mode.
isGraphicsModeOpaque
public boolean isGraphicsModeOpaque()
- Returns true if the current mode is opaque, otherwise false.
setColor
public void setColor(QDColor newColor)
- This method sets the operand color.
- Parameters:
newColor
- Specifies the new color.
getColor
public QDColor getColor()
- This method returns the operand mode
- Returns:
- the color.
toString
public java.lang.String toString()
- Returns the String representation of this Rectangle's values.
- Overrides:
toString
in class QTByteObject
clone
public java.lang.Object clone()
- Return a copy of the GraphicsMode object.