public class MmgColor
extends java.lang.Object
| Constructor and Description |
|---|
MmgColor()
Constructor of this object.
|
MmgColor(java.awt.Color C)
Constructor that sets the color to the given argument.
|
MmgColor(MmgColor m)
Constructor that sets its properties from an input MmgColor object.
|
| Modifier and Type | Method and Description |
|---|---|
MmgColor |
Clone()
Clones the current object.
|
boolean |
Equals(MmgColor c) |
static MmgColor |
GetBlack()
Static helper method returns black.
|
java.awt.Color |
GetColor()
Returns the color of this MmgColor object.
|
static MmgColor |
GetWhite()
Static helper method returns white.
|
void |
SetColor(java.awt.Color C)
Sets the color of this MmgColor object.
|
public MmgColor()
public MmgColor(MmgColor m)
m - Input MmgColor object.public MmgColor(java.awt.Color C)
C - The color to set the object.public MmgColor Clone()
public static MmgColor GetWhite()
public static MmgColor GetBlack()
public java.awt.Color GetColor()
public void SetColor(java.awt.Color C)
C - The color of this object.public boolean Equals(MmgColor c)