|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscenic.SceneNode
scenic.SceneLeaf
scenic.Shape
scenic.StrokedPath
public class StrokedPath
This shape strokes a path using the given parameters.
| Constructor Summary | |
|---|---|
StrokedPath(Path path)
Creates a StrokedPath object with the given path. |
|
| Method Summary | |
|---|---|
float[] |
getDashArray()
Gets the line dash lengths. |
double |
getDashPhase()
Gets the line dash phase. |
int |
getEndCap()
Gets the line cap style. |
int |
getLineJoin()
Gets the line join style. |
double |
getLineWidth()
Gets the line width. |
double |
getMiterLimit()
Gets the miter limit. |
Path |
getPath()
Gets the path to be stroked. |
void |
setDashArray(float[] lineDashLengths)
Sets the line dash pattern. |
void |
setDashPhase(double lineDashPhase)
Sets the phase of the line dash pattern. |
void |
setEndCap(int lineCap)
Sets the line cap style. |
void |
setLineJoin(int lineJoin)
Sets the line join style. |
void |
setLineWidth(double lineWidth)
Sets the line width. |
void |
setMiterLimit(double limit)
Sets the miter limit. |
void |
setPath(Path path)
Sets the path to be stroked. |
| Methods inherited from class scenic.Shape |
|---|
getColor, setColor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrokedPath(Path path)
path - the path to be stroked.| Method Detail |
|---|
public Path getPath()
public void setPath(Path path)
public double getLineWidth()
public void setLineWidth(double lineWidth)
public int getEndCap()
public void setEndCap(int lineCap)
public int getLineJoin()
public void setLineJoin(int lineJoin)
public double getMiterLimit()
public void setMiterLimit(double limit)
public float[] getDashArray()
public void setDashArray(float[] lineDashLengths)
lineDashLengths - the line dash pattern.public double getDashPhase()
public void setDashPhase(double lineDashPhase)
lineDashPhase - the line dash phase.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||