Package com.luciad.view
Class TLcdLineStyle
java.lang.Object
com.luciad.view.TLcdLineStyle
- All Implemented Interfaces:
Serializable
,Cloneable
This is a utility class that can be used to represent a line style to render
lines. It includes a color, a width and a pattern.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTLcdLineStyle
(int aWidth, int aPattern, Color aColor) TLcdLineStyle
(TLcdLineStyle aLineStyle) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getColor()
Gets the color of this line style.int
Gets the pattern of this line style.int
getWidth()
Gets the width of this line style.int
hashCode()
void
Sets the color of this line style.void
setPattern
(int aPattern) Sets the pattern of this line style.void
setWidth
(int aWidth) Sets the width of this line style: 0 means invisible.
-
Field Details
-
NONE
public static final int NONE- See Also:
-
PLAIN
public static final int PLAIN- See Also:
-
-
Constructor Details
-
TLcdLineStyle
public TLcdLineStyle() -
TLcdLineStyle
-
TLcdLineStyle
-
-
Method Details
-
getColor
Gets the color of this line style. -
setColor
Sets the color of this line style. -
getWidth
public int getWidth()Gets the width of this line style. -
setWidth
public void setWidth(int aWidth) Sets the width of this line style: 0 means invisible. -
getPattern
public int getPattern()Gets the pattern of this line style. It is up to the developer to assign an interpretation value different from NONE and PLAIN. -
setPattern
public void setPattern(int aPattern) Sets the pattern of this line style. It is up to the developer to assign an interpretation value different from NONE and PLAIN. -
equals
-
hashCode
public int hashCode() -
clone
-