|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ZStroke represents the "stroke" attribute of a visual component. Any visual components that support a stroke should implement this interface. A stroke describes the rendering details of drawing a path - including details such as pen width, join style, cap style, and dashes.
Method Summary | |
double |
getAbsPenWidth() Get the absolute width of the pen used to draw the visual component. |
double |
getPenWidth() Get the width of the pen used to draw the visual component. |
java.awt.Stroke |
getStroke() Get the stroke used to draw the visual component. |
void |
setAbsPenWidth(double width) Set the absolute width of the pen used to draw the visual component. |
void |
setPenWidth(double width) Set the width of the pen used to draw the visual component. |
void |
setStroke(java.awt.Stroke stroke) Set the stroke used to draw the visual component. |
Method Detail |
public double getPenWidth()
getAbsPenWidth()
public void setPenWidth(double width)
width
- the pen width.setAbsPenWidth(double)
public double getAbsPenWidth()
getPenWidth()
public void setAbsPenWidth(double width)
width
- the pen width.setPenWidth(double)
public java.awt.Stroke getStroke()
public void setStroke(java.awt.Stroke stroke)
stroke
- the stroke.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |