public class Motif extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected float |
alpha |
static float |
defaultAlpha |
static Color |
defaultFillcolor |
static String |
defaultFillColorString
The default fill color.
|
static Color |
defaultLineColor |
static String |
defaultLineColorString
The default line color.
|
protected Color |
fillColor |
protected float |
height |
protected Color |
lineColor |
protected float |
width |
Constructor and Description |
---|
Motif() |
Motif(Color fill) |
Motif(Color fill,
Color line,
float alpha) |
Motif(Color fill,
float alpha) |
Modifier and Type | Method and Description |
---|---|
protected void |
createOMDataMap(com.bbn.openmap.proj.Projection proj,
com.bbn.openmap.omGraphics.OMGraphicList omlist,
Scale sc,
DataMap datamap)
Create a graphical object corresponding to this DataMap.
|
float |
getAlpha()
Get the value of alpha.
|
Color |
getFillColor()
Get the value of fillColor.
|
float |
getHeight()
Get the value of height.
|
Color |
getLineColor()
Get the value of lineColor.
|
float |
getWidth()
Get the value of width.
|
void |
setAlpha(float v)
Set the value of alpha.
|
void |
setCellDimension(float width,
float height)
Set the width and the height of a cell for this Motif May be more
accurate in the DataMap ???
|
void |
setFillColor(Color v)
Set the value of fillColor.
|
void |
setHeight(float v)
Set the value of height.
|
void |
setLineColor(Color v)
Set the value of lineColor.
|
void |
setWidth(float v)
Set the value of width.
|
public static final Color defaultLineColor
public static final Color defaultFillcolor
public static final float defaultAlpha
public static final String defaultLineColorString
public static final String defaultFillColorString
protected Color lineColor
protected Color fillColor
protected float alpha
protected float width
protected float height
public Motif(Color fill, float alpha)
public Motif(Color fill)
public Motif()
public Color getLineColor()
public void setLineColor(Color v)
v
- Value to assign to lineColor.public Color getFillColor()
public void setFillColor(Color v)
v
- Value to assign to fillColor.public float getAlpha()
public void setAlpha(float v)
v
- Value to assign to alpha.public float getWidth()
public void setWidth(float v)
v
- Value to assign to width.public float getHeight()
public void setHeight(float v)
v
- Value to assign to height.public void setCellDimension(float width, float height)
width
- Cell width in radianheight
- Cell height in radianCopyright © 1999–2020 CodeLutin. All rights reserved.