Class StrokeImpl
- java.lang.Object
-
- com.priint.pubserver.metadata.xml.note.StrokeImpl
-
- All Implemented Interfaces:
Stroke,java.io.Serializable
public class StrokeImpl extends java.lang.Object implements java.io.Serializable, Stroke
The type Stroke.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StrokeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAlignment()Gets the alignment.intgetCap()Gets the cap.doublegetColor1()Gets the color 1.doublegetColor2()Gets the color 2.doublegetColor3()Gets the color 3.doublegetColor4()Gets the color 4.java.lang.StringgetColorName()Gets the color name.java.lang.StringgetColorSpace()Gets the color space.intgetEndType()Gets the end type.doublegetGapColor1()Gets the gap color 1.doublegetGapColor2()Gets the gap color 2.doublegetGapColor3()Gets the gap color 3.doublegetGapColor4()Gets the gap color 4.java.lang.StringgetGapColorName()Gets the gap color name.java.lang.StringgetGapColorSpace()Gets the gap color space.doublegetGapTint()Gets the gap tint.intgetJoin()Gets the join.doublegetMiter()Gets the miter.java.lang.StringgetSimpleValue()intgetStartType()Gets the start type.doublegetTint()Gets the tint.intgetType()Gets the type.doublegetWeight()Gets 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(java.lang.String colorName)Sets the color name.voidsetColorSpace(java.lang.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(java.lang.String gapColorName)Sets the gap color name.voidsetGapColorSpace(java.lang.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(java.lang.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 Detail
-
getSimpleValue
public java.lang.String getSimpleValue()
- Specified by:
getSimpleValuein interfaceStroke
-
setSimpleValue
public void setSimpleValue(java.lang.String strokeAttr)
- 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
public java.lang.String getColorSpace()
Description copied from interface:StrokeGets the color space.- Specified by:
getColorSpacein interfaceStroke- Returns:
- the color space
-
setColorSpace
public void setColorSpace(java.lang.String colorSpace)
Description copied from interface:StrokeSets the color space.- Specified by:
setColorSpacein interfaceStroke- Parameters:
colorSpace- the new color space
-
getColorName
public java.lang.String getColorName()
Description copied from interface:StrokeGets the color name.- Specified by:
getColorNamein interfaceStroke- Returns:
- the color name
-
setColorName
public void setColorName(java.lang.String colorName)
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
public java.lang.String getGapColorSpace()
Description copied from interface:StrokeGets the gap color space.- Specified by:
getGapColorSpacein interfaceStroke- Returns:
- the gap color space
-
setGapColorSpace
public void setGapColorSpace(java.lang.String gapColorSpace)
Description copied from interface:StrokeSets the gap color space.- Specified by:
setGapColorSpacein interfaceStroke- Parameters:
gapColorSpace- the new gap color space
-
getGapColorName
public java.lang.String getGapColorName()
Description copied from interface:StrokeGets the gap color name.- Specified by:
getGapColorNamein interfaceStroke- Returns:
- the gap color name
-
setGapColorName
public void setGapColorName(java.lang.String gapColorName)
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
-
-