Class: FdScreenLine

FdTools. FdScreenLine


new FdScreenLine(option)

屏幕线

Parameters:
Name Type Description
option Object

参数

Properties
Name Type Argument Description
lineColor Freedo.Color <optional>

定位线颜色

coordinate Array.<Freedo.Cartesian2> <optional>

屏幕坐标数组

lineType Freedo.PrimitiveType <optional>

线类型

show Boolean <optional>

显示隐藏

Example
var screenLinePrimitive = new Freedo.FdScreenLine({
	    scene:viewer.scene,
	    coordinate:[
	        new Freedo.Cartesian2(0,0),
	        new Freedo.Cartesian2(500,500),
	        new Freedo.Cartesian2(500,400)
	    ],
	    lineType:Freedo.ScreenLineType.LINE_STRIP
	})

Methods


destroy()

销毁定位线


hide()

隐藏定位线


show()

显示定位线