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 ColorgetColor()Return color of the current pen, or null.StrokegetStroke()intgetStyle()Return one of the PS_ styles.intgetType()intgetWidth()Return width.booleanisSimpleStyle()True if not a dashed or dotted style.booleanisVisible()voidsetColor(Color color)voidsetStyle(int style)voidsetWidth(int width)StringtoString()
-
-
-
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()
-
-