public class IlvGradientRasterStyle extends IlvRasterStyle
Modifier and Type | Field and Description |
---|---|
static String |
BOUNDS
The lat/lon bounds attribute name.
|
static String |
PRECISION
The precision attribute name.
|
BRIGHTNESS, COLORMODEL, CONTRAST, reader, SATURATION
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 |
---|
IlvGradientRasterStyle()
Constructs a
IlvGradientRasterStyle . |
IlvGradientRasterStyle(IlvGradientRasterStyle source)
Constructor by copy
|
IlvGradientRasterStyle(IlvInputStream stream)
Reads an
IlvGradientRasterStyle from an
IlvInputStream . |
IlvGradientRasterStyle(IlvRasterAbstractReader reader)
Constructs a
IlvGradientRasterStyle for the specified reader. |
Modifier and Type | Method and Description |
---|---|
IlvMapStyle |
copy()
Creates a copy of the style.
|
Rectangle2D |
getBounds()
Retrieve the
BOUNDS attribute value. |
double |
getPrecision()
Retrieve the
PRECISION attribute value. |
void |
setBounds(Rectangle2D c)
Sets the
BOUNDS attribute value. |
void |
setPrecision(double c)
Sets the
PRECISION attribute value. |
void |
write(IlvOutputStream stream)
Write a
IlvGradientRasterStyle on a
IlvOutputStream |
equals, getBrightness, getColorModel, getContrast, getSaturation, hashCode, setBrightness, setColorModel, setContrast, setSaturation, styleChanged, updateReader
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 PRECISION
public static final String BOUNDS
public IlvGradientRasterStyle()
IlvGradientRasterStyle
.public IlvGradientRasterStyle(IlvRasterAbstractReader reader)
IlvGradientRasterStyle
for the specified reader.reader
- image reader.public IlvGradientRasterStyle(IlvInputStream stream) throws IlvReadFileException
IlvGradientRasterStyle
from an
IlvInputStream
.stream
- The stream to read from.IlvReadFileException
public IlvGradientRasterStyle(IlvGradientRasterStyle source)
source
- source style to copypublic void write(IlvOutputStream stream) throws IOException
IlvGradientRasterStyle
on a
IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvRasterStyle
stream
- The stream to write to.IOException
IlvMapStyle.write(ilog.views.io.IlvOutputStream)
public IlvMapStyle copy()
copy
in class IlvRasterStyle
IlvRasterStyle
public double getPrecision()
PRECISION
attribute value.PRECISION
attribute value.public void setPrecision(double c)
PRECISION
attribute value.c
- The PRECISION
attribute value as a
double
public Rectangle2D getBounds()
BOUNDS
attribute value.BOUNDS
attribute value.public void setBounds(Rectangle2D c)
BOUNDS
attribute value.c
- The BOUNDS
attribute value as a
Rectangle2D
or radian lat/lon coordinates.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.