Interface Stroke
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
StrokeImpl
The Interface Stroke.
-
Method Summary
Modifier and TypeMethodDescriptionintGets the alignment.intgetCap()Gets the cap.doubleGets the color 1.doubleGets the color 2.doubleGets the color 3.doubleGets the color 4.Gets the color name.Gets the color space.intGets the end type.doubleGets the gap color 1.doubleGets the gap color 2.doubleGets the gap color 3.doubleGets the gap color 4.Gets the gap color name.Gets the gap color space.doubleGets the gap tint.intgetJoin()Gets the join.doublegetMiter()Gets the miter.intGets the start type.doublegetTint()Gets the tint.intgetType()Gets the type.doubleGets the weight.voidsetAlignment(int alignment) Sets the alignment.voidsetCap(int cap) Sets the cap.voidsetColor1(double color1) Sets the color 1.voidsetColor2(double color2) Sets the color 2.voidsetColor3(double color3) Sets the color 3.voidsetColor4(double color4) Sets the color 4.voidsetColorName(String colorName) Sets the color name.voidsetColorSpace(String colorSpace) Sets the color space.voidsetEndType(int endType) Sets the end type.voidsetGapColor1(double gapColor1) Sets the gap color 1.voidsetGapColor2(double gapColor2) Sets the gap color 2.voidsetGapColor3(double gapColor3) Sets the gap color 3.voidsetGapColor4(double gapColor4) Sets the gap color 4.voidsetGapColorName(String gapColorName) Sets the gap color name.voidsetGapColorSpace(String gapColorSpace) Sets the gap color space.voidsetGapTint(double gapTint) Sets the gap tint.voidsetJoin(int join) Sets the join.voidsetMiter(double miter) Sets the miter.voidsetSimpleValue(String strokeAttr) voidsetStartType(int startType) Sets the start type.voidsetTint(double tint) Sets the tint.voidsetType(int type) Sets the type.voidsetWeight(double weight) Sets the weight.
-
Method Details
-
getWeight
double getWeight()Gets the weight.- Returns:
- the weight
-
setWeight
void setWeight(double weight) Sets the weight.- Parameters:
weight- the new weight
-
getType
int getType()Gets the type.- Returns:
- the type
-
setType
void setType(int type) Sets the type.- Parameters:
type- the new type
-
getStartType
int getStartType()Gets the start type.- Returns:
- the start type
-
setStartType
void setStartType(int startType) Sets the start type.- Parameters:
startType- the new start type
-
getEndType
int getEndType()Gets the end type.- Returns:
- the end type
-
setEndType
void setEndType(int endType) Sets the end type.- Parameters:
endType- the new end type
-
getMiter
double getMiter()Gets the miter.- Returns:
- the miter
-
setMiter
void setMiter(double miter) Sets the miter.- Parameters:
miter- the new miter
-
getAlignment
int getAlignment()Gets the alignment.- Returns:
- the alignment
-
setAlignment
void setAlignment(int alignment) Sets the alignment.- Parameters:
alignment- the new alignment
-
getJoin
int getJoin()Gets the join.- Returns:
- the join
-
setJoin
void setJoin(int join) Sets the join.- Parameters:
join- the new join
-
getCap
int getCap()Gets the cap.- Returns:
- the cap
-
setCap
void setCap(int cap) Sets the cap.- Parameters:
cap- the new cap
-
getColorSpace
String getColorSpace()Gets the color space.- Returns:
- the color space
-
setColorSpace
Sets the color space.- Parameters:
colorSpace- the new color space
-
getColorName
String getColorName()Gets the color name.- Returns:
- the color name
-
setColorName
Sets the color name.- Parameters:
colorName- the new color name
-
getColor1
double getColor1()Gets the color 1.- Returns:
- the color 1
-
setColor1
void setColor1(double color1) Sets the color 1.- Parameters:
color1- the new color 1
-
getColor2
double getColor2()Gets the color 2.- Returns:
- the color 2
-
setColor2
void setColor2(double color2) Sets the color 2.- Parameters:
color2- the new color 2
-
getColor3
double getColor3()Gets the color 3.- Returns:
- the color 3
-
setColor3
void setColor3(double color3) Sets the color 3.- Parameters:
color3- the new color 3
-
getColor4
double getColor4()Gets the color 4.- Returns:
- the color 4
-
setColor4
void setColor4(double color4) Sets the color 4.- Parameters:
color4- the new color 4
-
getTint
double getTint()Gets the tint.- Returns:
- the tint
-
setTint
void setTint(double tint) Sets the tint.- Parameters:
tint- the new tint
-
getGapColorSpace
String getGapColorSpace()Gets the gap color space.- Returns:
- the gap color space
-
setGapColorSpace
Sets the gap color space.- Parameters:
gapColorSpace- the new gap color space
-
getGapColorName
String getGapColorName()Gets the gap color name.- Returns:
- the gap color name
-
setGapColorName
Sets the gap color name.- Parameters:
gapColorName- the new gap color name
-
getGapColor1
double getGapColor1()Gets the gap color 1.- Returns:
- the gap color 1
-
setGapColor1
void setGapColor1(double gapColor1) Sets the gap color 1.- Parameters:
gapColor1- the new gap color 1
-
getGapColor2
double getGapColor2()Gets the gap color 2.- Returns:
- the gap color 2
-
setGapColor2
void setGapColor2(double gapColor2) Sets the gap color 2.- Parameters:
gapColor2- the new gap color 2
-
getGapColor3
double getGapColor3()Gets the gap color 3.- Returns:
- the gap color 3
-
setGapColor3
void setGapColor3(double gapColor3) Sets the gap color 3.- Parameters:
gapColor3- the new gap color 3
-
getGapColor4
double getGapColor4()Gets the gap color 4.- Returns:
- the gap color 4
-
setGapColor4
void setGapColor4(double gapColor4) Sets the gap color 4.- Parameters:
gapColor4- the new gap color 4
-
getGapTint
double getGapTint()Gets the gap tint.- Returns:
- the gap tint
-
setGapTint
void setGapTint(double gapTint) Sets the gap tint.- Parameters:
gapTint- the new gap tint
-
getSimpleValue
String getSimpleValue() -
setSimpleValue
-