|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Outline
Interface Outline specifies the interface for an object that gives the stroke and paint with which to outline an area in a DrawingItem.
All outline objects must be externalizable so they can be stored in a drawing file.
| Field Summary | |
|---|---|
static Outline |
NONE
Specify Outline.NONE to omit drawing a drawing item's outline. |
| Method Summary | |
|---|---|
float |
getStrokeWidth()
Returns the stroke width of this outline. |
void |
setGraphicsContext(Graphics2D g2d)
Set the given graphics context's stroke and paint attributes as specified by this outline object. |
| Methods inherited from interface java.io.Externalizable |
|---|
readExternal, writeExternal |
| Field Detail |
|---|
static final Outline NONE
| Method Detail |
|---|
float getStrokeWidth()
void setGraphicsContext(Graphics2D g2d)
g2d - 2-D graphics context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||