OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION
Constructor and Description |
---|
MfLogPen()
The default pen for a new DC.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Return color of the current pen, or null.
|
Stroke |
getStroke() |
int |
getStyle()
Return one of the PS_ styles.
|
int |
getType() |
int |
getWidth()
Return width.
|
boolean |
isSimpleStyle()
True if not a dashed or dotted style.
|
boolean |
isVisible() |
void |
setColor(Color color) |
void |
setStyle(int style) |
void |
setWidth(int width) |
String |
toString() |
public int getStyle()
public void setStyle(int style)
public int getWidth()
public void setWidth(int width)
public Color getColor()
public void setColor(Color color)
public boolean isSimpleStyle()
public boolean isVisible()
public Stroke getStroke()