Appearance
@jtopo/core / NodeState
Interface: NodeState
Hierarchy
VisualEntityState↳
NodeState
Table of contents
Properties
- attrDirty
- hasBackgroundColor
- hasBorder
- isOutOfViewport
- needPaint
- renderIndex
- shapeSize
- textArr
- textDirty
- textHeight
- textLineHeight
- textPositionCache
- textWidth
Properties
attrDirty
attrDirty: boolean
Inherited from
VisualEntityState.attrDirty
hasBackgroundColor
hasBackgroundColor: boolean
hasBorder
hasBorder: boolean
isOutOfViewport
isOutOfViewport: boolean
Inherited from
VisualEntityState.isOutOfViewport
needPaint
needPaint: boolean
Inherited from
VisualEntityState.needPaint
renderIndex
renderIndex: number
Inherited from
VisualEntityState.renderIndex
shapeSize
shapeSize: Object
Type declaration
| Name | Type |
|---|---|
width | number |
height | number |
textArr
textArr: string[]
textDirty
textDirty: boolean
textHeight
textHeight: number
textLineHeight
textLineHeight: number
textPositionCache
textPositionCache: Object
Type declaration
| Name | Type |
|---|---|
x | number |
y | number |
textWidth
textWidth: number