-
height
Number
- 自从:ArcGIS 适用于 JavaScript 4.12 的 API
路径横截面的垂直尺寸(以米为单位)。如果仅设置宽度,则高度设置为与宽度相同的值。如果宽度和高度均未设置,则不会显示路径。
例子:
// create a path with a wall style let wallPath = { type: "line-3d", // autocasts as new LineSymbol3D() symbolLayers: [{ type: "path", // autocasts as new PathSymbol3DLayer() profile: "quad", // creates a rectangular shape width: 1, // path width in meters height: 20, // path height in meters material: { color: "#a382cc" } }] };
// create a path with a pipe style let wallPath = { type: "line-3d", // autocasts as new LineSymbol3D() symbolLayers: [{ type: "path", // autocasts as new PathSymbol3DLayer() profile: "circle", height: 20, // path width in meters this also sets the width to 20 meters material: { color: "##a382cc" } }] };
基本信息
以下是所在类或对象的基本信息。
AMD:
require(["esri/symbols/PathSymbol3DLayer"], (PathSymbol3DLayer) => { /* code goes here */ });
ESM:
import PathSymbol3DLayer from "@arcgis/core/symbols/PathSymbol3DLayer";
类:
esri/symbols/PathSymbol3DLayer
继承: PathSymbol3DLayer > Symbol3DLayer > Accessor
自从:用于 JavaScript 4.0 的 ArcGIS API
用法说明
PathSymbol3DLayer.height
函数(或属性)的定义如下:
相关用法
- JavaScript ArcGIS PathSymbol3DLayer.castShadows用法及代码示例
- JavaScript ArcGIS PathSymbol3DLayer.width用法及代码示例
- JavaScript ArcGIS PathSymbol3DLayer.clone用法及代码示例
- JavaScript ArcGIS PathSymbol3DLayer.material用法及代码示例
- JavaScript ArcGIS PathSymbol3DLayer用法及代码示例
- JavaScript ArcGIS ParameterValue.value用法及代码示例
- JavaScript ArcGIS PolygonDrawAction draw-complete事件用法及代码示例
- JavaScript Print.on用法及代码示例
- JavaScript Popup.autoOpenEnabled用法及代码示例
- JavaScript ArcGIS PointCloudLayer.apiKey用法及代码示例
- JavaScript ArcGIS PopupTemplate.fieldInfos用法及代码示例
- JavaScript ArcGIS PointCloudLayer.fields用法及代码示例
- JavaScript Popup.location用法及代码示例
- JavaScript ArcGIS PointCloudLayer.on用法及代码示例
- JavaScript ArcGIS PointCloudLayer.when用法及代码示例
- JavaScript Print.allowedLayouts用法及代码示例
- JavaScript Popup.headingLevel用法及代码示例
- JavaScript ArcGIS PointCloudLayer layerview-create-error事件用法及代码示例
- JavaScript ArcGIS PointCloudLayer.url用法及代码示例
- JavaScript ArcGIS PolygonDrawAction.mode用法及代码示例
- JavaScript ArcGIS PointCloudLayer.queryCachedStatistics用法及代码示例
- JavaScript ArcGIS Portal.fetchBasemaps用法及代码示例
- JavaScript ArcGIS PolylineDrawAction redo事件用法及代码示例
- JavaScript ArcGIS PixelBlock.pixels用法及代码示例
- JavaScript ArcGIS PolylineBarrier用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 PathSymbol3DLayer.height。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。