|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object android.image.Image android.image.RegularPolygon android.image.Star
public class Star
Represents an Image of a Star. There are several constructors to support customization with number of points, and inner/outer radius.
new Star(40, 5, "solid", "gray")
new Star(30, 7, "outline", "red")
new Star(40, 30, 10, "solid", "cornflowerblue")
Field Summary |
---|
Fields inherited from class android.image.Image |
---|
BLACK_OUTLINE, CLEAR, WHITE |
Constructor Summary | |
---|---|
Star(double radius,
double innerRad,
int sides,
java.lang.String mode,
java.lang.String color)
Create a Star Image with (double) radius, inner-radius, sides, mode and color |
|
Star(double radius,
int sides,
java.lang.String mode,
java.lang.String color)
Create a Star Image with (double) radius, sides, mode and color |
|
Star(double radius,
java.lang.String mode,
java.lang.String color)
Create a Star Image with (double) radius, mode and color |
|
Star(int radius,
int innerRad,
int sides,
java.lang.String mode,
java.lang.String color)
Create a Star Image with (int) radius, inner-radius, sides, mode and color |
|
Star(int radius,
int sides,
java.lang.String mode,
java.lang.String color)
Create a Star Image with (int) radius, sides, mode and color |
|
Star(int radius,
java.lang.String mode,
java.lang.String color)
Create a Star Image with (int) radius, mode and color |
Method Summary |
---|
Methods inherited from class android.image.RegularPolygon |
---|
height, paint, width |
Methods inherited from class android.image.Image |
---|
flipHorizontal, flipVertical, overlay, overlay, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, rasterize, rotate, rotate, toFile, toScene, toWhiteFile, toWhiteScene |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Star(double radius, java.lang.String mode, java.lang.String color)
public Star(int radius, java.lang.String mode, java.lang.String color)
public Star(double radius, int sides, java.lang.String mode, java.lang.String color)
public Star(int radius, int sides, java.lang.String mode, java.lang.String color)
public Star(double radius, double innerRad, int sides, java.lang.String mode, java.lang.String color)
public Star(int radius, int innerRad, int sides, java.lang.String mode, java.lang.String color)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |