com.supermap.mobjects.situationmonitor

类 SignPro

  • java.lang.Object
    • com.supermap.data.InternalHandle
      • com.supermap.data.InternalHandleDisposable
        • com.supermap.mobjects.situationmonitor.SignPro
  • 所有已实现的接口:
    IDisposable
    直接已知子类:
    InternalSignPro


    public class SignPro
    extends com.supermap.data.InternalHandleDisposable
    标牌类
    • 构造器详细资料

      • SignPro

        public SignPro()
        构造函数
    • 方法详细资料

      • dispose

        public void dispose()
        释放对象
      • getBarHeight

        public double getBarHeight()
        获取标牌柄高度。
        返回:
        标牌柄高度。
      • setBarHeight

        public void setBarHeight(double dBarHeight)
        设置标牌柄高度。
        参数:
        dBarHeight - 标牌柄高度。
      • getContents

        public String[] getContents()
        获取标牌文字内容
        返回:
        标牌文字内容
      • setContents

        public void setContents(String[] arrContents)
        设置标牌文字内容
        参数:
        arrContents - 标牌文字内容
      • getTextStyles

        public TextStyle[] getTextStyles()
        获取标牌文字样式
        返回:
        标牌文字样式
      • setTextStyles

        public void setTextStyles(TextStyle[] arrTextStyles)
        设置标牌文字样式,文字位置通过setAlignment设置,TextAlignment.MIDDLELEFT是靠左,TextAlignment.MIDDLECENTER是居中,TextAlignment.MIDDLERIGHT是靠右,其他都默认为居中
        参数:
        arrTextStyles - 标牌文字样式
      • getBarStyle

        public GeoStyle getBarStyle()
        获取标牌柄样式
        返回:
        标牌柄样式
      • setBarStyle

        public void setBarStyle(GeoStyle style)
        设置标牌柄样式
        参数:
        style - 标牌柄样式
      • getTaryStyle

        public GeoStyle getTaryStyle()
        获取标牌托样式
        返回:
        标牌托样式
      • setTaryStyle

        public void setTaryStyle(GeoStyle style)
        设置标牌托样式
        参数:
        style - 标牌托样式
      • getFrameStyle

        public GeoStyle getFrameStyle()
        获取标牌框样式
        返回:
        标牌框样式
      • setFrameStyle

        public void setFrameStyle(GeoStyle style)
        设置标牌框样式
        参数:
        style - 标牌框样式

Copyright © 2021–2024 SuperMap. All rights reserved.