public class ServerStyle
extends java.lang.Object
implements java.io.Serializable
服务端矢量要素风格类。
该类用于定义点状符号、线状符号、填充符号风格及其相关属性。
限定符和类型 | 字段和说明 |
---|---|
ServerColor |
fillBackColor
获取或设置填充背景颜色。
|
java.lang.Boolean |
fillBackOpaque
获取或设置背景是否不透明,默认值为false,表示透明。
|
ServerColor |
fillForeColor
获取或设置填充颜色。
|
double |
fillGradientAngle
获取或设置渐变填充的旋转角度。
|
FillGradientMode |
fillGradientMode
获取或设置矢量要素的渐变填充风格的渐变类型,FillGradientMode类常量。
|
double |
fillGradientOffsetRatioX
获取或设置渐变填充中心点相对于填充区域范围中心点的水平偏移百分比。
|
double |
fillGradientOffsetRatioY
获取或设置渐变填充中心点相对于填充区域范围中心点的垂直偏移百分比。
|
int |
fillOpaqueRate
获取或设置填充不透明度,合法值为0-100的数值。
|
int |
fillSymbolID
获取或设置填充符号的编码,即在填充库中填充风格的ID。
|
ServerColor |
lineColor
获取或设置矢量要素的边线颜色,默认为黑色。
|
int |
lineSymbolID
获取或设置现状符号的编码,即线性库中线性的ID。
|
double |
lineWidth
获取或设置边线的宽度,单位为毫米,精确到0.1,默认值为1。
|
double |
markerAngle
获取或设置点状符号的旋转角度,以度为单位,精确到0.1度,逆时针方向为正方向,默认值为0。
|
double |
markerSize
获取或设置点状符号的大小,单位为毫米,精确到0.1,默认值为1。
|
int |
markerSymbolID
获取或设置点状符号的编码。
|
构造器和说明 |
---|
ServerStyle()
构造函数。
|
public ServerColor fillBackColor
获取或设置填充背景颜色。当填充模式为渐变填充时,该颜色为填充终止色。默认为白色。
public java.lang.Boolean fillBackOpaque
获取或设置背景是否不透明,默认值为false,表示透明。
public ServerColor fillForeColor
获取或设置填充颜色。当填充模式为渐变填充 时,该颜色为填充起始颜色。默认为红色。
public double fillGradientAngle
获取或设置渐变填充的旋转角度。单位为度,精确到0.1度,默认为0。
public FillGradientMode fillGradientMode
获取或设置矢量要素的渐变填充风格的渐变类型,FillGradientMode类常量。
public double fillGradientOffsetRatioX
获取或设置渐变填充中心点相对于填充区域范围中心点的水平偏移百分比。
public double fillGradientOffsetRatioY
获取或设置渐变填充中心点相对于填充区域范围中心点的垂直偏移百分比。
public int fillOpaqueRate
获取或设置填充不透明度,合法值为0-100的数值。默认值为100。
public int fillSymbolID
获取或设置填充符号的编码,即在填充库中填充风格的ID。
public ServerColor lineColor
获取或设置矢量要素的边线颜色,默认为黑色。当设置对象为点状符号时,该属性用于设置点状符号的颜色。
public int lineSymbolID
获取或设置现状符号的编码,即线性库中线性的ID。
public double lineWidth
获取或设置边线的宽度,单位为毫米,精确到0.1,默认值为1。
public double markerAngle
获取或设置点状符号的旋转角度,以度为单位,精确到0.1度,逆时针方向为正方向,默认值为0。
public double markerSize
获取或设置点状符号的大小,单位为毫米,精确到0.1,默认值为1。
public int markerSymbolID
获取或设置点状符号的编码。