com.stimulsoft.base.drawing
Class StiPen

java.lang.Object
  extended by com.stimulsoft.base.drawing.StiPen

public class StiPen
extends java.lang.Object

Class represent Pen value Copyright Stimulsoft


Field Summary
static StiPen BLACK
          Black color pen
static StiPen BLUE
          Blue color pen
static StiPen DIM_GRAY
          Dim gray color pen
static StiPen GRAY
          Gray color pen
static StiPen RED
          Red color pen
static StiPen TRANSPARENT
          Transient color pen
 
Constructor Summary
StiPen(double width, StiColor color)
          Constructor
StiPen(double width, StiColor color, StiPenStyle dashStyle)
          Constructor
StiPen(StiColor color, double width)
           
 
Method Summary
 StiPen clone()
           
 java.lang.Boolean equals(StiPen object)
          Check StiPen equality
 StiBrush getBrush()
           
 int getCaps()
           
 StiColor getColor()
           
 StiPenStyle getDashStyle()
           
 int getJoints()
           
 java.lang.Double getWidth()
           
 void setBrush(StiBrush brush)
           
 void setCaps(int caps)
           
 void setColor(StiColor color)
           
 void setDashStyle(StiPenStyle dashStyle)
           
 void setJoints(int joints)
           
 void setWidth(java.lang.Double width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLACK

public static final StiPen BLACK
Black color pen


GRAY

public static final StiPen GRAY
Gray color pen


DIM_GRAY

public static final StiPen DIM_GRAY
Dim gray color pen


RED

public static final StiPen RED
Red color pen


BLUE

public static final StiPen BLUE
Blue color pen


TRANSPARENT

public static final StiPen TRANSPARENT
Transient color pen

Constructor Detail

StiPen

public StiPen(double width,
              StiColor color,
              StiPenStyle dashStyle)
Constructor

Parameters:
width -
color -
dashStyle -

StiPen

public StiPen(double width,
              StiColor color)
Constructor

Parameters:
width -
color -

StiPen

public StiPen(StiColor color,
              double width)
Method Detail

clone

public StiPen clone()
Overrides:
clone in class java.lang.Object

equals

public java.lang.Boolean equals(StiPen object)
Check StiPen equality

Parameters:
object -
Returns:

getCaps

public int getCaps()
Returns:
the caps

setCaps

public void setCaps(int caps)
Parameters:
caps - the caps to set

getJoints

public int getJoints()
Returns:
the joints

setJoints

public void setJoints(int joints)
Parameters:
joints - the joints to set

getWidth

public java.lang.Double getWidth()
Returns:
the width

setWidth

public void setWidth(java.lang.Double width)
Parameters:
width - the width to set

getColor

public StiColor getColor()
Returns:
the color

setColor

public void setColor(StiColor color)
Parameters:
color - the color to set

getBrush

public StiBrush getBrush()
Returns:
the brush

setBrush

public void setBrush(StiBrush brush)
Parameters:
brush - the brush to set

getDashStyle

public StiPenStyle getDashStyle()
Returns:
the dashStyle

setDashStyle

public void setDashStyle(StiPenStyle dashStyle)
Parameters:
dashStyle - the dashStyle to set