com.supermap.mobjects.situationsimulation
类 GeoEntityEffectText
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.mobjects.situationsimulation.GeoEntityEffect
-
- com.supermap.mobjects.situationsimulation.GeoEntityEffectText
-
- 所有已实现的接口:
- IDisposable
public class GeoEntityEffectText extends GeoEntityEffect
文本特效类
-
-
构造器概要
构造器 构造器和说明 GeoEntityEffectText()
构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放对象int
getAlign()
获取对齐方式。Color
getBackGroundColor()
获取背景颜色。boolean
getBackOpaque()
获取背景不透明。String
getFaceName()
获取字体名称。boolean
getShowHalo()
获取显示轮廓。Map<Integer,EffectTextChangeParm>
getTextChangeParm()
获取文本渐变参数。String
getTextContent()
获取文本内容。void
setAlign(int align)
设置对齐方式。void
setBackGroundColor(Color backGroundColor)
设置背景颜色。void
setBackOpaque(boolean isBackOpaque)
设置背景不透明。void
setFaceName(String faceName)
设置字体名称。void
setShowHalo(boolean isShowHalo)
设置显示轮廓。void
setTextChangeParm(Map<Integer,EffectTextChangeParm> textChangeParm)
设置文本渐变参数。void
setTextContent(String textContent)
设置文本内容。-
从类继承的方法 com.supermap.mobjects.situationsimulation.GeoEntityEffect
clone, fromXml, generateUuid, getOffset, getType, getUuid, isChangeSizeFlowModel, isVisible, setChangeSizeFlowModel, setOffset, setUuid, setVisible, toXml
-
-
-
-
方法详细资料
-
dispose
public void dispose()
释放对象- 指定者:
dispose
在接口中IDisposable
- 覆盖:
dispose
在类中GeoEntityEffect
-
getTextContent
public String getTextContent()
获取文本内容。- 返回:
- 文本内容。
-
setTextContent
public void setTextContent(String textContent)
设置文本内容。- 参数:
textContent
- 文本内容。
-
getFaceName
public String getFaceName()
获取字体名称。- 返回:
- 字体名称。
-
setFaceName
public void setFaceName(String faceName)
设置字体名称。- 参数:
faceName
- 字体名称。
-
getAlign
public int getAlign()
获取对齐方式。- 返回:
- 对齐方式。
-
setAlign
public void setAlign(int align)
设置对齐方式。- 参数:
align
- 对齐方式。
-
getShowHalo
public boolean getShowHalo()
获取显示轮廓。- 返回:
- 显示轮廓。
-
setShowHalo
public void setShowHalo(boolean isShowHalo)
设置显示轮廓。- 参数:
isShowHalo
- 是否显示轮廓。
-
getBackOpaque
public boolean getBackOpaque()
获取背景不透明。- 返回:
- 背景不透明。
-
setBackOpaque
public void setBackOpaque(boolean isBackOpaque)
设置背景不透明。- 参数:
isBackOpaque
- 背景不透明。
-
getBackGroundColor
public Color getBackGroundColor()
获取背景颜色。- 返回:
- 背景颜色。
-
setBackGroundColor
public void setBackGroundColor(Color backGroundColor)
设置背景颜色。- 参数:
backGroundColor
- 背景颜色。
-
getTextChangeParm
public Map<Integer,EffectTextChangeParm> getTextChangeParm()
获取文本渐变参数。- 返回:
- 文本渐变参数。
-
setTextChangeParm
public void setTextChangeParm(Map<Integer,EffectTextChangeParm> textChangeParm)
设置文本渐变参数。- 参数:
textChangeParm
- 文本渐变参数。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.