Interface Stroke
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
StrokeImpl
The Interface Stroke.
-
Method Summary
Modifier and TypeMethodDescriptionintgetAlign()Gets the align.getCap()Gets the cap.getColor()ColorGets the color.getEnd()Gets the end.ColorGets the gapcolor.intGets the gapoverprint.getJoin()Gets the join.doublegetMiter()Gets the miter.intGets the overprint.getStart()Gets the start.getType()Gets the type.doubleGets the visible width.doublegetWidth()Gets the width.voidsetAlign(int align) Sets the align.voidSets the cap.voidColorSets the color.voidSets the end.voidsetGapcolor(Color gapcolor) ColorSets the gapcolor.voidsetGapoverprint(int gapoverprint) Sets the gapoverprint.voidSets the join.voidsetMiter(double miter) Sets the miter.voidsetOverprint(int overprint) Sets the overprint.voidSets the start.voidSets the type.voidsetVisibleWidth(double visibleWidth) Sets the visible width.voidsetWidth(double width) Sets the width.
-
Method Details
-
getType
String getType()Gets the type.- Returns:
- the type
-
setType
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
String getCap()Gets the cap.- Returns:
- the cap
-
setCap
Sets the cap.- Parameters:
cap- the cap to set
-
getJoin
String getJoin()Gets the join.- Returns:
- the join
-
setJoin
Sets the join.- Parameters:
join- the join to set
-
getStart
String getStart()Gets the start.- Returns:
- the start
-
setStart
Sets the start.- Parameters:
start- the start to set
-
getEnd
String getEnd()Gets the end.- Returns:
- the end
-
setEnd
Sets the end.- Parameters:
end- the end to set
-
getColor
Color getColor()ColorGets the color.- Returns:
- the color
- See Also:
-
setColor
ColorSets the color.- Parameters:
color- the color to set- See Also:
-
getGapcolor
Color getGapcolor()ColorGets the gapcolor.- Returns:
- the gapcolor
- See Also:
-
setGapcolor
ColorSets the gapcolor.- Parameters:
gapcolor- the gapcolor to set- See Also:
-