Class MfLogPen
- java.lang.Object
-
- org.pentaho.reporting.libraries.pixie.wmf.MfLogPen
-
-
Field Summary
-
Fields inherited from interface org.pentaho.reporting.libraries.pixie.wmf.WmfObject
OBJ_BRUSH, OBJ_FONT, OBJ_PALETTE, OBJ_PEN, OBJ_REGION
-
-
Constructor Summary
Constructors Constructor Description MfLogPen()
The default pen for a new DC.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getStyle
public int getStyle()
Return one of the PS_ styles.
-
setStyle
public void setStyle(int style)
-
getWidth
public int getWidth()
Return width.
-
setWidth
public void setWidth(int width)
-
getColor
public Color getColor()
Return color of the current pen, or null.
-
setColor
public void setColor(Color color)
-
isSimpleStyle
public boolean isSimpleStyle()
True if not a dashed or dotted style.
-
isVisible
public boolean isVisible()
-
getStroke
public Stroke getStroke()
-
-