|
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.GLine
public class GLine
This class is the base class for all line style aesthetics.
| Field Summary | |
|---|---|
static GLine |
DASH_LINE
Dash line. |
static GLine |
DOT_LINE
Dot line. |
static GLine |
LARGE_DASH
Large dash line. |
static GLine |
MEDIUM_DASH
Medium dash line. |
static GLine |
THIN_LINE
Thin line. |
| Constructor Summary | |
|---|---|
GLine()
Create a simple solid line. |
|
GLine(double dash,
double linew)
Create a line with dash size and line width. |
|
GLine(int style)
Create GLine from a line style. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another object. |
double |
getDash()
Get the dash size. |
double |
getLineWidth()
Get the line width. |
static Shape |
getShape(Point2D start,
Point2D end,
double startSize,
double endSize,
GLine startLine,
GLine endLine)
Get the line shape. |
Stroke |
getStroke()
Get the stroke to draw the line style. |
Stroke |
getStroke(double linew)
Get a stroke with the specified line width. |
int |
getStyle()
Get the line style. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final GLine THIN_LINE
public static final GLine DOT_LINE
public static final GLine DASH_LINE
public static final GLine MEDIUM_DASH
public static final GLine LARGE_DASH
| Constructor Detail |
|---|
public GLine()
public GLine(int style)
public GLine(double dash,
double linew)
dash - the dash size.linew - the line width.| Method Detail |
|---|
public double getDash()
public double getLineWidth()
public int getStyle()
public Stroke getStroke()
public Stroke getStroke(double linew)
public static Shape getShape(Point2D start,
Point2D end,
double startSize,
double endSize,
GLine startLine,
GLine endLine)
start - the start point of the line.end - the end point of the line.startSize - the start point line space percent.endSize - the end point line space percent.startLine - the start line style.endLine - the end line style.public boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
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 | ||||||||