Interface Stroke
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
StrokeImpl
public interface Stroke extends java.io.SerializableThe Interface Stroke.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAlign()Gets the align.java.lang.StringgetCap()Gets the cap.ColorgetColor()ColorGets the color.java.lang.StringgetEnd()Gets the end.ColorgetGapcolor()ColorGets the gapcolor.intgetGapoverprint()Gets the gapoverprint.java.lang.StringgetJoin()Gets the join.doublegetMiter()Gets the miter.intgetOverprint()Gets the overprint.java.lang.StringgetStart()Gets the start.java.lang.StringgetType()Gets the type.doublegetVisibleWidth()Gets the visible width.doublegetWidth()Gets the width.voidsetAlign(int align)Sets the align.voidsetCap(java.lang.String cap)Sets the cap.voidsetColor(Color color)ColorSets the color.voidsetEnd(java.lang.String end)Sets the end.voidsetGapcolor(Color gapcolor)ColorSets the gapcolor.voidsetGapoverprint(int gapoverprint)Sets the gapoverprint.voidsetJoin(java.lang.String join)Sets the join.voidsetMiter(double miter)Sets the miter.voidsetOverprint(int overprint)Sets the overprint.voidsetStart(java.lang.String start)Sets the start.voidsetType(java.lang.String type)Sets the type.voidsetVisibleWidth(double visibleWidth)Sets the visible width.voidsetWidth(double width)Sets the width.
-
-
-
Method Detail
-
getType
java.lang.String getType()
Gets the type.- Returns:
- the type
-
setType
void setType(java.lang.String type)
Sets the type.- Parameters:
type- the type to set
-
getWidth
double getWidth()
Gets the width.- Returns:
- the width
-
setWidth
void setWidth(double width)
Sets the width.- Parameters:
width- the width to set
-
getVisibleWidth
double getVisibleWidth()
Gets the visible width.- Returns:
- the visibleWidth
-
setVisibleWidth
void setVisibleWidth(double visibleWidth)
Sets the visible width.- Parameters:
visibleWidth- the visibleWidth to set
-
getAlign
int getAlign()
Gets the align.- Returns:
- the align
-
setAlign
void setAlign(int align)
Sets the align.- Parameters:
align- the align to set
-
getMiter
double getMiter()
Gets the miter.- Returns:
- the miter
-
setMiter
void setMiter(double miter)
Sets the miter.- Parameters:
miter- the miter to set
-
getOverprint
int getOverprint()
Gets the overprint.- Returns:
- the overprint
-
setOverprint
void setOverprint(int overprint)
Sets the overprint.- Parameters:
overprint- the overprint to set
-
getGapoverprint
int getGapoverprint()
Gets the gapoverprint.- Returns:
- the gapoverprint
-
setGapoverprint
void setGapoverprint(int gapoverprint)
Sets the gapoverprint.- Parameters:
gapoverprint- the gapoverprint to set
-
getCap
java.lang.String getCap()
Gets the cap.- Returns:
- the cap
-
setCap
void setCap(java.lang.String cap)
Sets the cap.- Parameters:
cap- the cap to set
-
getJoin
java.lang.String getJoin()
Gets the join.- Returns:
- the join
-
setJoin
void setJoin(java.lang.String join)
Sets the join.- Parameters:
join- the join to set
-
getStart
java.lang.String getStart()
Gets the start.- Returns:
- the start
-
setStart
void setStart(java.lang.String start)
Sets the start.- Parameters:
start- the start to set
-
getEnd
java.lang.String getEnd()
Gets the end.- Returns:
- the end
-
setEnd
void setEnd(java.lang.String end)
Sets the end.- Parameters:
end- the end to set
-
setColor
void setColor(Color color)
ColorSets the color.- Parameters:
color- the color to set- See Also:
Color
-
-