|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MinuetoColor | |
|---|---|
| org.minueto | The org.minueto package contains classes shared
by all the other Minueto packages. |
| org.minueto.image | The org.minueto.image package contains all the
classes related to image creation, loading and manipulation. |
| org.minueto.window | The org.minueto.window package contains all the
classes related to creating a drawing surface for the Minueto
application, weither it be a window or a panel. |
| Uses of MinuetoColor in org.minueto |
|---|
| Fields in org.minueto declared as MinuetoColor | |
|---|---|
static MinuetoColor |
MinuetoColor.BLACK
The color Black. |
static MinuetoColor |
MinuetoColor.BLUE
The color Blue. |
static MinuetoColor |
MinuetoColor.GREEN
The color Green. |
static MinuetoColor |
MinuetoColor.RED
The color Red. |
static MinuetoColor |
MinuetoColor.WHITE
The color White |
static MinuetoColor |
MinuetoColor.YELLOW
The color Yellow. |
| Methods in org.minueto that return MinuetoColor | |
|---|---|
MinuetoColor |
MinuetoColor.darken(double factor)
Returns a darker color. |
MinuetoColor |
MinuetoColor.darken(int factor)
Returns a darker color. |
MinuetoColor |
MinuetoColor.lighten(double factor)
Returns a lighter color. |
MinuetoColor |
MinuetoColor.lighten(int factor)
Returns a lighter color. |
| Uses of MinuetoColor in org.minueto.image |
|---|
| Methods in org.minueto.image that return MinuetoColor | |
|---|---|
MinuetoColor |
MinuetoImage.getPixel(int x,
int y)
Get the color of the pxel at location x,y. |
| Methods in org.minueto.image with parameters of type MinuetoColor | |
|---|---|
void |
MinuetoDrawingSurface.clear(MinuetoColor color)
Erases the contents from the Drawing Surface. |
void |
MinuetoImage.clear(MinuetoColor color)
|
void |
MinuetoImage.drawCircle(MinuetoColor color,
int x,
int y,
int diameter)
Draw a circle of the specified color at the start point and of the desired diameter. |
void |
MinuetoDrawingSurface.drawLine(MinuetoColor color,
int xStart,
int yStart,
int xStop,
int yStop)
Draw a line of the specified color from the start point to the end point. |
void |
MinuetoImage.drawLine(MinuetoColor color,
int xStart,
int yStart,
int xStop,
int yStop)
|
void |
MinuetoImage.drawPolygon(MinuetoColor color,
int[] points)
Draw a polygon of the specified color from the specified points. |
void |
MinuetoImage.drawRectangle(MinuetoColor color,
int x,
int y,
int width,
int height)
Draw a rectangle of the specified color from the start point and of the desired size. |
MinuetoImage |
MinuetoImage.mask(MinuetoColor color)
The mask method creates a new MinuetoImage where
all the non-transparent pxels of this image are replaced
with the provided color. |
void |
MinuetoDrawingSurface.setPixel(int x,
int y,
MinuetoColor color)
Change the color of pxel at location X,y. |
void |
MinuetoImage.setPixel(int x,
int y,
MinuetoColor color)
|
void |
MinuetoText.setUpText(java.lang.String text,
MinuetoFont font,
MinuetoColor color,
boolean antiAliased)
Builds the actual MinuetoText objects. |
| Constructors in org.minueto.image with parameters of type MinuetoColor | |
|---|---|
MinuetoCircle(int sizeX,
int sizeY,
MinuetoColor color,
boolean fill)
Creates a MinuetoCircle image of a circle (or an ellipse) of the specified
color and size. |
|
MinuetoCircle(int radius,
MinuetoColor color,
boolean fill)
Creates a MinuetoCircle image of a circle (or an ellipse) of the specified
color and radius. |
|
MinuetoRectangle(int sizeX,
int sizeY,
MinuetoColor color,
boolean fill)
Creates a MinuetoRectangle image of a rectangle (or a square) of the specified
color and size. |
|
MinuetoText(java.lang.String text,
MinuetoFont font,
MinuetoColor color)
Builds a MinuetoText image of a string of the specified
color and font. |
|
MinuetoText(java.lang.String text,
MinuetoFont font,
MinuetoColor color,
boolean antiAliased)
Builds a MinuetoText image of a string of the specified
color and font. |
|
| Uses of MinuetoColor in org.minueto.window |
|---|
| Methods in org.minueto.window with parameters of type MinuetoColor | |
|---|---|
void |
MinuetoPanel.clear(MinuetoColor color)
|
void |
MinuetoPanel.drawLine(MinuetoColor color,
int xStart,
int yStart,
int xStop,
int yStop)
|
void |
MinuetoPanel.setPixel(int x,
int y,
MinuetoColor color)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||