|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.aesthetic.GShape
inetsoft.graph.aesthetic.GShape.ImageShape
public static class GShape.ImageShape
Image fill shape.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inetsoft.graph.aesthetic.GShape |
|---|
GShape.ImageShape |
| Field Summary |
|---|
| Fields inherited from class inetsoft.graph.aesthetic.GShape |
|---|
ARROW, ARROWBAR, CIRCLE, CROSS, DIAMOND, FILLED_ARROW, FILLED_ARROWBAR, FILLED_CIRCLE, FILLED_DIAMOND, FILLED_SQUARE, FILLED_TRIANGLE, HYPHEN, LINE, LSHAPE, NIL, SQUARE, STAR, STICK, TRIANGLE, VSHAPE, XSHAPE |
| Constructor Summary | |
|---|---|
GShape.ImageShape()
Create an empty image shape. |
|
GShape.ImageShape(Image image)
Create a image shape. |
|
GShape.ImageShape(String path)
Create an image shape. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another objects. |
Color |
getIgnoredColor()
Get the color to ignore when applying color to image. |
Image |
getImage()
Get the image for filling the shape. |
double |
getMinSize()
Get the minimum size (width and height) this shape needs. |
Shape |
getShape(double x,
double y,
double w,
double h)
|
boolean |
isApplyColor()
Check if the graphics color should be applied on image. |
boolean |
isTile()
Check whether to tile or resize the image. |
void |
paint(Graphics2D g,
Shape shape)
Paint a shape. |
void |
setApplyColor(boolean color)
Set if the graphics color should be applied on image. |
void |
setIgnoredColor(Color color)
Set the color to ignore when applying color to image. |
void |
setImage(Image image)
Set the image for filling the shape. |
void |
setTile(boolean tile)
Set whether to tile or resize the image. |
| Methods inherited from class inetsoft.graph.aesthetic.GShape |
|---|
clone, create, getCenter, getLineColor, isAntiAlias, isFill, isOutline, paint, paint, setFill, setLineColor, setOutline |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GShape.ImageShape()
public GShape.ImageShape(String path)
path - image file or resource path.public GShape.ImageShape(Image image)
| Method Detail |
|---|
public void setImage(Image image)
public Image getImage()
public void setTile(boolean tile)
public boolean isTile()
public void setApplyColor(boolean color)
public boolean isApplyColor()
public void setIgnoredColor(Color color)
public Color getIgnoredColor()
public double getMinSize()
GShape
getMinSize in class GShape
public Shape getShape(double x,
double y,
double w,
double h)
getShape in class GShape
public void paint(Graphics2D g,
Shape shape)
GShape
paint in class GShapepublic boolean equals(Object obj)
GShape
equals in class GShape
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||