BlockSuite API Documentation / @blocksuite/blocks / LocalConnectorElementModel
Class: LocalConnectorElementModel
Extends
GfxLocalElementModel
Constructors
new LocalConnectorElementModel()
new LocalConnectorElementModel():
LocalConnectorElementModel
Returns
Inherited from
GfxLocalElementModel.constructor
Properties
_local
protected
_local:Map
<string
|symbol
,unknown
>
Inherited from
GfxLocalElementModel._local
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:122
absolutePath
absolutePath:
PointLocation
[]
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:7
frontEndpointStyle
frontEndpointStyle:
PointStyle
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:8
id
id:
string
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:9
mode
mode:
ConnectorMode
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:10
opacity
opacity:
number
Inherited from
GfxLocalElementModel.opacity
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:123
rearEndpointStyle
rearEndpointStyle:
PointStyle
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:11
rotate
rotate:
number
Overrides
GfxLocalElementModel.rotate
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:12
rough?
optional
rough:boolean
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:13
roughness
roughness:
number
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:14
seed
seed:
number
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:15
source
source:
Connection
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:16
stroke
stroke:
Color
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:17
strokeStyle
strokeStyle:
StrokeStyle
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:18
strokeWidth
strokeWidth:
number
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:19
target
target:
Connection
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:20
updatingPath
updatingPath:
boolean
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:21
xywh
xywh: `[${number},${number},${number},${number}]`
Overrides
GfxLocalElementModel.xywh
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:22
Accessors
deserializedXYWH
get
deserializedXYWH():XYWH
Returns
XYWH
Inherited from
GfxLocalElementModel.deserializedXYWH
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:126
h
get
h():number
Returns
number
Inherited from
GfxLocalElementModel.h
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:127
path
get
path():PointLocation
[]
set
path(value
):void
Parameters
• value: PointLocation
[]
Returns
PointLocation
[]
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:23
type
get
type():string
Returns
string
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:25
w
get
w():number
Returns
number
Inherited from
GfxLocalElementModel.w
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:128
x
get
x():number
Returns
number
Inherited from
GfxLocalElementModel.x
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:129
y
get
y():number
Returns
number
Inherited from
GfxLocalElementModel.y
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:130