Type Parameters

Hierarchy

Constructors

Properties

$$isReactive: true
$$parent: IList<ReactiveLayer<any>>

container object

$$ref: any

data which will be mount on layer to render.

when you are too lazy to design a model (from Base), ref is the best alternative.

all reactive layer is with ref.

$$subSystems: ReactiveLayer<any>[]

systems which are all in this.

$$system: ReactiveLayer<any>

reactive layer in which this layer is.

__preSize: Point = null

the size before changed.

_bounds: LatLngBounds

world bounds.

_fromBoundsMark: Rectangle<any>
_headStateHasChanged: boolean

a signal indicating whether the head state has changed.

_image: HTMLElement
_immediatelyRenderOnce: boolean

render the state syncronize

_initImage: (() => void)

Type declaration

    • (): void
    • Returns void

_isRenderScheduled: boolean
_lastRenderedEffect: ReactiveLayerRenderEffect
_map: WikMap
_mapToAdd: WikMap
_uiStateChangeLogs: any[]

logs to record the state before calling onXX. It's data onXX returns.

_url: HTMLElement
angle: number

控制图形的旋转角度

anglePhase: number

the start angle.

disableMatrix: boolean

If you want to disable matrix transformation.

which means it is an object exsiting in the root system without any sub-system.

dragging: WikDraggable
ifRender: boolean

IF you want trigger render after this set call, set IfRender TRUE.

!Warn: ifRender will be reset to FALSE after rendered;

isClickEventFireCancelled: boolean
isMatrixNeedsUpdate: boolean

图形的顶点坐标

layerId: string
layerState: S
position: LatLng

控制图形的位置

renderingMode: ReactiveLayerRenderingMode = 'overlay'
scale: LatLngLiteral

控制图形的缩放

svgC: SvgFC
svgData: D = ...
svgId: string
svgServer: ReactSVGOverlayAppServer = null
svgStyle: SVGAttributes<SVGRectElement> = {}
svgStyleElement: SvgStyleElementType = 'rect'
worldMatrix: mat3

Accessors

Methods

  • includes:viewbox/style/root G transform

    Returns

    Returns {
        r: number;
        size: number;
        transform: string;
        viewbox: string;
    }

    • r: number
    • size: number
    • transform: string
    • viewbox: string

Generated using TypeDoc