Skip to content

Interface: EditStyle

编辑时点和线样式,包含

Example

  • Default Value :

    • js
      {
        point: new Cesium.PointPrimitive(...),
        centerPoint: new Cesium.PointPrimitive(...),
        line: { ...this.lineStyle }
        polygon: { ...this.polygonStyle }
      }

Table of contents

Properties

Properties

point

point: PointPrimitive

Defined in

src/interaction/DrawEditablePlane/index.ts:73


centerPoint

centerPoint: PointPrimitive

Defined in

src/interaction/DrawEditablePlane/index.ts:74


line

line: { id: string ; geometry: { width: number ; vertexFormat: VertexFormat } ; attributes: { color: ColorGeometryInstanceAttribute } ; appearance: PolylineColorAppearance ; depthFailAppearance: undefined } & { attributes: { color: ColorGeometryInstanceAttribute } }

Defined in

src/interaction/DrawEditablePlane/index.ts:75


polygon

polygon: PolygonStyle & { attributes: { color: ColorGeometryInstanceAttribute } }

Defined in

src/interaction/DrawEditablePlane/index.ts:82