コンテンツへスキップ

pivotick v3.0.0


pivotick / メモ

クラス: Note ​

定義: Note.ts:38

コンストラクター ​

コンストラクター ​

new Note(options, domID): Note

定義: Note.ts:62

パラメータ ​

options ​

NoteOptions = {}

domID ​

string = ...

返品 ​

Note

メソッド ​

clearAttachmentDirty() ​

clearAttachmentDirty(): void

定義: Note.ts:172

返品 ​

void


clearDirty() ​

clearDirty(): void

定義: Note.ts:160

返品 ​

void


getAttachedElement() ​

getAttachedElement(): AttachedElement | undefined

定義: Note.ts:127

返品 ​

AttachedElement | undefined


getGraphElement() ​

getGraphElement(): SVGGElement | null

定義: Note.ts:111

返品 ​

SVGGElement | null


isAttachmentDirty() ​

isAttachmentDirty(): boolean

定義: Note.ts:176

返品 ​

boolean


isDirty() ​

isDirty(): boolean

定義: Note.ts:164

返品 ​

boolean


isEditing() ​

isEditing(): boolean

定義: Note.ts:119

返品 ​

boolean


markAttachmentDirty() ​

markAttachmentDirty(): void

定義: Note.ts:168

返品 ​

void


markDirty() ​

markDirty(): void

定義: Note.ts:156

返品 ​

void


setAttachedElement() ​

setAttachedElement(attachedElement): void

定義: Note.ts:131

パラメータ ​

attachedElement ​

AttachedElement | undefined

返品 ​

void


setColor() ​

setColor(color): void

定義: Note.ts:97

パラメータ ​

color ​

string

返品 ​

void


setContent() ​

setContent(content): void

定義: Note.ts:92

パラメータ ​

content ​

string

返品 ​

void


setEditing() ​

setEditing(editing): void

定義: Note.ts:123

パラメータ ​

editing ​

boolean

返品 ​

void


setGraphElement() ​

setGraphElement(el): void

定義: Note.ts:107

パラメータ ​

el ​

SVGGElement

返品 ​

void


setPosition() ​

setPosition(x, y): void

定義: Note.ts:82

パラメータ ​

x ​

number

y ​

number

返品 ​

void


setSize() ​

setSize(width, height): void

定義: Note.ts:87

パラメータ ​

width ​

number

height ​

number

返品 ​

void


setSurface() ​

setSurface(surface): void

定義: Note.ts:102

パラメータ ​

surface ​

NoteSurface

返品 ​

void


toJSON() ​

toJSON(): NoteOptions

定義: Note.ts:141

このメモを再構築する単純なオプション: new Note(note.toJSON()) または 別のグラフのgraph.addNote(note.toJSON())。可視性は省略されます。 ノートの非表示は、ノートの一部ではなくビューステートです。

返品 ​

NoteOptions

プロパティ ​

color ​

color: string

定義: Note.ts:49


content ​

content: string

定義: Note.ts:48


domID ​

readonly domID: string

定義: Note.ts:60


height ​

height: number

定義: Note.ts:46


id ​

id: string

定義: Note.ts:40


surface ​

surface: NoteSurface

定義: Note.ts:50


visible ​

visible: boolean

定義: Note.ts:51


width ​

width: number

定義: Note.ts:45


x ​

x: number

定義: Note.ts:42


y ​

y: number

定義: Note.ts:43