public class IlvGeneralPathStyle extends IlvMapStyle
IlvGeneralPathStyle
is used to style
a IlvMapGeneralPath
graphic.Modifier and Type | Field and Description |
---|---|
static String |
END_CAP
The EndCap property name.
|
static String |
FILL_ON
The FillOn property name.
|
static String |
FILL_PAINT
The FillPaint property name.
|
static String |
FOREGROUND
The Foreground property name.
|
static String |
LINE_JOIN
The LineJoin property name.
|
static String |
LINE_STYLE
The LineStyle property name.
|
static String |
PAINT_ABSOLUTE
The PaintAbsolute property name.
|
static String |
PAINT_ZOOMED
The PaintZoomed property name.
|
static String |
STROKE
The Stroke property name.
|
static String |
STROKE_ON
The StrokeOn property name.
|
static String |
STROKE_PAINT
The StrokePaint property name.
|
static String |
STROKE_WIDTH
The StrokeWidth 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 |
---|
IlvGeneralPathStyle()
Constructs a
IlvGeneralPathStyle |
IlvGeneralPathStyle(IlvGeneralPathStyle source)
Constructor by copy
|
IlvGeneralPathStyle(IlvInputStream stream)
Read a
IlvGeneralPathStyle from an IlvInputStream |
Modifier and Type | Method and Description |
---|---|
IlvMapStyle |
copy()
Creates a copy of the style.
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
int |
getEndCap()
Retrieves the EndCap property value.
|
Paint |
getFillPaint()
Retrieves the FillPaint property value.
|
Color |
getForeground()
Retrieve the
FOREGROUND attribute value. |
int |
getLineJoin()
Retrieves the LineJoin property value.
|
float[] |
getLineStyle()
Retrieves the LineStyle property value.
|
Stroke |
getStroke()
Retrieves the Stroke property value.
|
Paint |
getStrokePaint()
Retrieves the StrokePaint property value.
|
double |
getStrokeWidth()
Retrieves the StrokeWidth property value.
|
int |
hashCode() |
boolean |
isFillOn()
Retrieves the FillOn property value.
|
boolean |
isPaintAbsolute()
Retrieves the PaintAbsolute property value.
|
boolean |
isPaintZoomed()
Retrieves the PaintZoomed property value.
|
boolean |
isStrokeOn()
Retrieves the StrokeOn property value.
|
void |
setEndCap(int cap)
Sets the EndCap property value.
|
void |
setFillOn(boolean on)
Sets the FillOn property value.
|
void |
setFillPaint(Paint p)
Sets the FillPaint 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 |
setPaintAbsolute(boolean on)
Sets the PaintAbsolute property value.
|
void |
setPaintZoomed(boolean on)
Sets the PaintZoomed property value.
|
void |
setStroke(Stroke stroke)
Sets the Stroke property value.
|
void |
setStrokeOn(boolean on)
Sets the StrokeOn property value.
|
void |
setStrokePaint(Paint p)
Sets the StrokePaint property value.
|
void |
setStrokeWidth(double width)
Sets the StrokeWidth property value.
|
void |
write(IlvOutputStream stream)
Write an
IlvGeneralPathStyle int 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, setVisibleInView
public static final String FOREGROUND
public static final String FILL_PAINT
public static final String STROKE_PAINT
public static final String FILL_ON
public static final String STROKE_ON
public static final String PAINT_ABSOLUTE
public static final String STROKE_WIDTH
public static final String PAINT_ZOOMED
public static final String END_CAP
public static final String LINE_JOIN
public static final String LINE_STYLE
public static final String STROKE
public IlvGeneralPathStyle()
IlvGeneralPathStyle
public IlvGeneralPathStyle(IlvInputStream stream) throws IlvReadFileException
IlvGeneralPathStyle
from an IlvInputStream
stream
- The stream to read from.IlvReadFileException
public IlvGeneralPathStyle(IlvGeneralPathStyle source)
source
- source style to copypublic IlvMapStyle copy()
copy
in class IlvMapStyle
IlvGeneralPathStyle
public void write(IlvOutputStream stream) throws IOException
IlvGeneralPathStyle
int an IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvMapStyle
stream
- The stream to write into.IOException
public int hashCode()
hashCode
in class IlvMapStyle
public boolean equals(Object o)
equals
in class IlvMapStyle
IlvMapStyle.equals(java.lang.Object)
public Color getForeground()
FOREGROUND
attribute value.FOREGROUND
attribute value.public void setForeground(Color c)
c
- The FOREGROUND
attribute value as a Color
public void setFillPaint(Paint p)
p
- The new FillPaint property value.public Paint getFillPaint()
public void setStrokePaint(Paint p)
p
- The new StrokePaint property value.public Paint getStrokePaint()
public void setFillOn(boolean on)
on
- The new FillOn Property value.public boolean isFillOn()
public void setStrokeOn(boolean on)
on
- The new StrokeOn property value.public boolean isStrokeOn()
public void setPaintAbsolute(boolean on)
on
- The new StrokeOn property value.public boolean isPaintAbsolute()
public void setStrokeWidth(double width)
width
- The new StrokeWidth Property value.public double getStrokeWidth()
public void setPaintZoomed(boolean on)
on
- The new PaintZoomed property value.public boolean isPaintZoomed()
public int getEndCap()
public void setEndCap(int cap)
cap
- The new EndCap property value.public int getLineJoin()
public void setLineJoin(int join)
join
- The new EndCap property value.public float[] getLineStyle()
public void setLineStyle(float[] style)
style
- The new LineStyle property value.public void setStroke(Stroke stroke)
stroke
- The new Stroke property value.public Stroke getStroke()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.