Package com.stimulsoft.base.drawing
Class StiPen
java.lang.Object
com.stimulsoft.base.drawing.StiPen
Class represent Pen value
Copyright Stimulsoft
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()CheckStiPenequalitygetBrush()intgetCaps()getColor()intgetWidth()voidvoidsetCaps(int caps) voidvoidsetDashStyle(StiPenStyle dashStyle) voidsetJoints(int joints) void
-
Field Details
-
BLACK
Black color pen -
GRAY
Gray color pen -
DIM_GRAY
Dim gray color pen -
RED
Red color pen -
BLUE
Blue color pen -
TRANSPARENT
Transient color pen
-
-
Constructor Details
-
StiPen
Constructor- Parameters:
width-color-dashStyle-
-
StiPen
Constructor- Parameters:
width-color-
-
StiPen
-
-
Method Details
-
clone
-
equals
CheckStiPenequality- 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
- Returns:
- the width
-
setWidth
- Parameters:
width- the width to set
-
getColor
- Returns:
- the color
-
setColor
- Parameters:
color- the color to set
-
getBrush
- Returns:
- the brush
-
setBrush
- Parameters:
brush- the brush to set
-
getDashStyle
- Returns:
- the dashStyle
-
setDashStyle
- Parameters:
dashStyle- the dashStyle to set
-