|
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.SVGShape
public class SVGShape
This class draws a SVG image as a shape.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inetsoft.graph.aesthetic.GShape |
|---|
GShape.ImageShape |
| Field Summary | |
|---|---|
static SVGShape |
CHECK
Check mark icon. |
static SVGShape |
DOWN_ARROW
Down arrow icon. |
static SVGShape |
FACE_BLANK
A blank face. |
static SVGShape |
FACE_HAPPY
A happy face. |
static SVGShape |
FACE_OK
A face with no expression. |
static SVGShape |
FACE_SAD
A sad face. |
static SVGShape |
FACE_SMILE
A smiling face. |
static SVGShape |
FEMALE
Female person icon. |
static SVGShape |
LEFT_ARROW
Left arrow icon. |
static SVGShape |
MALE
Male person icon. |
static SVGShape |
MINUS
Minus icon. |
static SVGShape |
PLUS
Plus icon. |
static SVGShape |
RIGHT_ARROW
Right arrow icon. |
static SVGShape |
STAR
Star icon. |
static SVGShape |
SUN
Sun icon. |
static SVGShape |
UP_ARROW
Up arrow icon. |
static SVGShape |
WARNING
Warning icon. |
static SVGShape |
X
X icon. |
| 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, STICK, TRIANGLE, VSHAPE, XSHAPE |
| Constructor Summary | |
|---|---|
SVGShape()
Create an empty image shape. |
|
SVGShape(String icon)
Create a image shape. |
|
| Method Summary | |
|---|---|
double |
getMinSize()
Get the minimum size (width and height) this shape needs. |
Shape |
getShape(double x,
double y,
double w,
double h)
|
String |
getSVG()
Get the image for filling the shape. |
void |
paint(Graphics2D g,
Shape shape)
Paint a shape. |
void |
setSVG(String icon)
Set the image for filling the shape. |
| Methods inherited from class inetsoft.graph.aesthetic.GShape |
|---|
clone, create, equals, 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 |
| Field Detail |
|---|
public static SVGShape CHECK
public static SVGShape MINUS
public static SVGShape PLUS
public static SVGShape STAR
public static SVGShape SUN
public static SVGShape X
public static SVGShape FACE_BLANK
public static SVGShape FACE_OK
public static SVGShape FACE_SAD
public static SVGShape FACE_SMILE
public static SVGShape FACE_HAPPY
public static SVGShape UP_ARROW
public static SVGShape DOWN_ARROW
public static SVGShape LEFT_ARROW
public static SVGShape RIGHT_ARROW
public static SVGShape MALE
public static SVGShape FEMALE
public static SVGShape WARNING
| Constructor Detail |
|---|
public SVGShape()
public SVGShape(String icon)
icon - the svg file resource path.| Method Detail |
|---|
public void setSVG(String icon)
icon - the svg file resource path.public String getSVG()
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 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 | ||||||||