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:139
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:140
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 Signature
get deserializedXYWH():
XYWH
Returns
XYWH
Inherited from
GfxLocalElementModel.deserializedXYWH
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:143
h
Get Signature
get h():
number
Returns
number
Inherited from
GfxLocalElementModel.h
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:144
path
Get Signature
get path():
PointLocation
[]
Returns
PointLocation
[]
Set Signature
set path(
value
):void
Parameters
value
PointLocation
[]
Returns
void
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:23
type
Get Signature
get type():
string
Returns
string
Defined in
packages/affine/model/dist/elements/connector/local-connector.d.ts:25
w
Get Signature
get w():
number
Returns
number
Inherited from
GfxLocalElementModel.w
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:145
x
Get Signature
get x():
number
Returns
number
Inherited from
GfxLocalElementModel.x
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:146
y
Get Signature
get y():
number
Returns
number
Inherited from
GfxLocalElementModel.y
Defined in
packages/framework/block-std/dist/gfx/model/surface/element-model.d.ts:147