public class IlvPolylineStyle extends IlvMapStyle
IlvMapStyle intended to be used by a
IlvMapPolyline graphic object. This style
redefines the Stroke, EndCap, LineJoin, LineStyle ...
graphic properties.| Modifier and Type | Field and Description |
|---|---|
static String |
BACKGROUND
The Background property name.
|
static String |
DECORATION
The Decoration attribute name.
|
static String |
DECORATION_ONLY
The DecorationOnly attribute name.
|
static String |
DECORATION_PAINT
The DecorationPaint attribute name.
|
static String |
END_CAP
The EndCap property name.
|
static String |
FOREGROUND
The Foreground attribute name.
|
static String |
LINE_JOIN
The LineJoin property name.
|
static String |
LINE_STYLE
The LineStyle property name.
|
static String |
LINE_WIDTH
The LineWidth property name.
|
static String |
STROKE
The Stroke property name.
|
ALPHA, ALWAYS_ON_TOP, ATTRIBUTE_INFO, CATEGORY, LABEL_ATTRIBUTE, LEGEND_GROUP, PARENT, THIN_CLIENT_BACKGROUND, VISIBLE_IN_3DVIEW, VISIBLE_IN_OVERVIEW, VISIBLE_IN_TREE, VISIBLE_IN_VIEW| Constructor and Description |
|---|
IlvPolylineStyle()
Create a
IlvPolylineStyle |
IlvPolylineStyle(IlvInputStream stream)
Reads an
IlvPolylineStyle from an IlvInputStream |
IlvPolylineStyle(IlvPolylineStyle source)
Creates s
IlvPolyLine by copying an existing one. |
| Modifier and Type | Method and Description |
|---|---|
IlvMapStyle |
copy()
Return a copy of the style.
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
Color |
getBackground()
Retrieves the Background property value.
|
IlvPathDecoration |
getDecoration()
Retrieves the Decoration property value.
|
Paint |
getDecorationPaint()
Retrieves the DecorationPaint property value.
|
int |
getEndCap()
Retrieves the EndCap property value.
|
Color |
getForeground()
Retrieve the
FOREGROUND attribute value. |
int |
getLineJoin()
Retrieves the LineJoin property value.
|
float[] |
getLineStyle()
Retrieves the LineStyle property value.
|
double |
getLineWidth()
Retrieves the LineWidth property value.
|
Stroke |
getStroke()
Retrieves the Stroke property value.
|
int |
hashCode() |
boolean |
isDecorationOnly()
Retrieves the DecorationOnly property value.
|
void |
setBackground(Color b)
Sets the Background property value.
|
void |
setDecoration(IlvPathDecoration decoration)
Sets the Decoration property value.
|
void |
setDecorationOnly(boolean on)
Sets the DecorationOnly property value.
|
void |
setDecorationPaint(Paint p)
Sets the DecorationPaint property value.
|
void |
setEndCap(int cap)
Sets the EndCap property value.
|
void |
setForeground(Color c)
Sets the
FOREGROUND attribute value. |
void |
setLineJoin(int join)
Sets the LineJoin property value.
|
void |
setLineStyle(float[] style)
Sets the LineStyle property value.
|
void |
setLineWidth(double width)
Sets the LineWidth property value.
|
void |
setStroke(Stroke s)
Sets the Stroke property value.
|
void |
write(IlvOutputStream stream)
Writes an
IllPolylineStyle to an IlvOutputStream |
addAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInViewpublic static final String FOREGROUND
public static final String DECORATION
public static final String DECORATION_ONLY
public static final String DECORATION_PAINT
public static final String BACKGROUND
public static final String STROKE
public static final String END_CAP
public static final String LINE_JOIN
public static final String LINE_STYLE
public static final String LINE_WIDTH
public IlvPolylineStyle(IlvInputStream stream) throws IlvReadFileException
IlvPolylineStyle from an IlvInputStreamstream - The stream to read from.IlvReadFileExceptionpublic IlvPolylineStyle()
IlvPolylineStylepublic IlvPolylineStyle(IlvPolylineStyle source)
IlvPolyLine by copying an existing one.source - The polyline to copy.public void write(IlvOutputStream stream) throws IOException
IllPolylineStyle to an IlvOutputStreamwrite in interface IlvPersistentObjectwrite in class IlvMapStylestream - The stream to write to.IOExceptionpublic IlvMapStyle copy()
copy in class IlvMapStyleIlvMapStyle.copy()public int hashCode()
hashCode in class IlvMapStylepublic boolean equals(Object o)
equals in class IlvMapStyleIlvMapStyle.equals(java.lang.Object)public Color getForeground()
FOREGROUND attribute value.FOREGROUND attribute value.public void setForeground(Color c)
FOREGROUND attribute value.c - The FOREGROUND attribute value as a Colorpublic Color getBackground()
public void setBackground(Color b)
b - The Background property value.public void setStroke(Stroke s)
s - The Stroke property value.public Stroke getStroke()
public int getEndCap()
public void setEndCap(int cap)
cap - The EndCap property value.public int getLineJoin()
public void setLineJoin(int join)
join - The LineJoin property value.public float[] getLineStyle()
public void setLineStyle(float[] style)
style - The LineStyle property value.public void setLineWidth(double width)
width - The LineWidth property value.public double getLineWidth()
public void setDecoration(IlvPathDecoration decoration)
decoration - The Decoration property value.public IlvPathDecoration getDecoration()
public void setDecorationOnly(boolean on)
on - The DecorationOnly property value.public boolean isDecorationOnly()
public void setDecorationPaint(Paint p)
p - The DecorationPaint property value.public Paint getDecorationPaint()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.