Class StrokeImpl
java.lang.Object
com.priint.pubserver.metadata.xml.note.StrokeImpl
- All Implemented Interfaces:
Stroke,Serializable
The type Stroke.
- See Also:
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
StrokeImpl
public StrokeImpl()
-
-
Method Details
-
getSimpleValue
- Specified by:
getSimpleValuein interfaceStroke
-
setSimpleValue
- Specified by:
setSimpleValuein interfaceStroke
-
getWeight
public double getWeight()Description copied from interface:StrokeGets the weight. -
setWeight
public void setWeight(double weight) Description copied from interface:StrokeSets the weight. -
getType
public int getType()Description copied from interface:StrokeGets the type. -
setType
public void setType(int type) Description copied from interface:StrokeSets the type. -
getStartType
public int getStartType()Description copied from interface:StrokeGets the start type.- Specified by:
getStartTypein interfaceStroke- Returns:
- the start type
-
setStartType
public void setStartType(int startType) Description copied from interface:StrokeSets the start type.- Specified by:
setStartTypein interfaceStroke- Parameters:
startType- the new start type
-
getEndType
public int getEndType()Description copied from interface:StrokeGets the end type.- Specified by:
getEndTypein interfaceStroke- Returns:
- the end type
-
setEndType
public void setEndType(int endType) Description copied from interface:StrokeSets the end type.- Specified by:
setEndTypein interfaceStroke- Parameters:
endType- the new end type
-
getMiter
public double getMiter()Description copied from interface:StrokeGets the miter. -
setMiter
public void setMiter(double miter) Description copied from interface:StrokeSets the miter. -
getAlignment
public int getAlignment()Description copied from interface:StrokeGets the alignment.- Specified by:
getAlignmentin interfaceStroke- Returns:
- the alignment
-
setAlignment
public void setAlignment(int alignment) Description copied from interface:StrokeSets the alignment.- Specified by:
setAlignmentin interfaceStroke- Parameters:
alignment- the new alignment
-
getJoin
public int getJoin()Description copied from interface:StrokeGets the join. -
setJoin
public void setJoin(int join) Description copied from interface:StrokeSets the join. -
getCap
public int getCap()Description copied from interface:StrokeGets the cap. -
setCap
public void setCap(int cap) Description copied from interface:StrokeSets the cap. -
getColorSpace
Description copied from interface:StrokeGets the color space.- Specified by:
getColorSpacein interfaceStroke- Returns:
- the color space
-
setColorSpace
Description copied from interface:StrokeSets the color space.- Specified by:
setColorSpacein interfaceStroke- Parameters:
colorSpace- the new color space
-
getColorName
Description copied from interface:StrokeGets the color name.- Specified by:
getColorNamein interfaceStroke- Returns:
- the color name
-
setColorName
Description copied from interface:StrokeSets the color name.- Specified by:
setColorNamein interfaceStroke- Parameters:
colorName- the new color name
-
getColor1
public double getColor1()Description copied from interface:StrokeGets the color 1. -
setColor1
public void setColor1(double color1) Description copied from interface:StrokeSets the color 1. -
getColor2
public double getColor2()Description copied from interface:StrokeGets the color 2. -
setColor2
public void setColor2(double color2) Description copied from interface:StrokeSets the color 2. -
getColor3
public double getColor3()Description copied from interface:StrokeGets the color 3. -
setColor3
public void setColor3(double color3) Description copied from interface:StrokeSets the color 3. -
getColor4
public double getColor4()Description copied from interface:StrokeGets the color 4. -
setColor4
public void setColor4(double color4) Description copied from interface:StrokeSets the color 4. -
getTint
public double getTint()Description copied from interface:StrokeGets the tint. -
setTint
public void setTint(double tint) Description copied from interface:StrokeSets the tint. -
getGapColorSpace
Description copied from interface:StrokeGets the gap color space.- Specified by:
getGapColorSpacein interfaceStroke- Returns:
- the gap color space
-
setGapColorSpace
Description copied from interface:StrokeSets the gap color space.- Specified by:
setGapColorSpacein interfaceStroke- Parameters:
gapColorSpace- the new gap color space
-
getGapColorName
Description copied from interface:StrokeGets the gap color name.- Specified by:
getGapColorNamein interfaceStroke- Returns:
- the gap color name
-
setGapColorName
Description copied from interface:StrokeSets the gap color name.- Specified by:
setGapColorNamein interfaceStroke- Parameters:
gapColorName- the new gap color name
-
getGapColor1
public double getGapColor1()Description copied from interface:StrokeGets the gap color 1.- Specified by:
getGapColor1in interfaceStroke- Returns:
- the gap color 1
-
setGapColor1
public void setGapColor1(double gapColor1) Description copied from interface:StrokeSets the gap color 1.- Specified by:
setGapColor1in interfaceStroke- Parameters:
gapColor1- the new gap color 1
-
getGapColor2
public double getGapColor2()Description copied from interface:StrokeGets the gap color 2.- Specified by:
getGapColor2in interfaceStroke- Returns:
- the gap color 2
-
setGapColor2
public void setGapColor2(double gapColor2) Description copied from interface:StrokeSets the gap color 2.- Specified by:
setGapColor2in interfaceStroke- Parameters:
gapColor2- the new gap color 2
-
getGapColor3
public double getGapColor3()Description copied from interface:StrokeGets the gap color 3.- Specified by:
getGapColor3in interfaceStroke- Returns:
- the gap color 3
-
setGapColor3
public void setGapColor3(double gapColor3) Description copied from interface:StrokeSets the gap color 3.- Specified by:
setGapColor3in interfaceStroke- Parameters:
gapColor3- the new gap color 3
-
getGapColor4
public double getGapColor4()Description copied from interface:StrokeGets the gap color 4.- Specified by:
getGapColor4in interfaceStroke- Returns:
- the gap color 4
-
setGapColor4
public void setGapColor4(double gapColor4) Description copied from interface:StrokeSets the gap color 4.- Specified by:
setGapColor4in interfaceStroke- Parameters:
gapColor4- the new gap color 4
-
getGapTint
public double getGapTint()Description copied from interface:StrokeGets the gap tint.- Specified by:
getGapTintin interfaceStroke- Returns:
- the gap tint
-
setGapTint
public void setGapTint(double gapTint) Description copied from interface:StrokeSets the gap tint.- Specified by:
setGapTintin interfaceStroke- Parameters:
gapTint- the new gap tint
-