pivotick / Opmerking
Klasse: Note
Gedefinieerd in: Note.ts:38
Constructeurs
Constructeur
new Note(
options,domID):Note
Gedefinieerd in: Note.ts:62
Parameters
options
NoteOptions = {}
domID
string = ...
Retouren
Note
Methoden
clearAttachmentDirty()
clearAttachmentDirty():
void
Gedefinieerd in: Note.ts:172
Retouren
void
clearDirty()
clearDirty():
void
Gedefinieerd in: Note.ts:160
Retouren
void
getAttachedElement()
getAttachedElement():
AttachedElement|undefined
Gedefinieerd in: Note.ts:127
Retouren
AttachedElement | undefined
getGraphElement()
getGraphElement():
SVGGElement|null
Gedefinieerd in: Note.ts:111
Retouren
SVGGElement | null
isAttachmentDirty()
isAttachmentDirty():
boolean
Gedefinieerd in: Note.ts:176
Retouren
boolean
isDirty()
isDirty():
boolean
Gedefinieerd in: Note.ts:164
Retouren
boolean
isEditing()
isEditing():
boolean
Gedefinieerd in: Note.ts:119
Retouren
boolean
markAttachmentDirty()
markAttachmentDirty():
void
Gedefinieerd in: Note.ts:168
Retouren
void
markDirty()
markDirty():
void
Gedefinieerd in: Note.ts:156
Retouren
void
setAttachedElement()
setAttachedElement(
attachedElement):void
Gedefinieerd in: Note.ts:131
Parameters
attachedElement
AttachedElement | undefined
Retouren
void
setColor()
setColor(
color):void
Gedefinieerd in: Note.ts:97
Parameters
color
string
Retouren
void
setContent()
setContent(
content):void
Gedefinieerd in: Note.ts:92
Parameters
content
string
Retouren
void
setEditing()
setEditing(
editing):void
Gedefinieerd in: Note.ts:123
Parameters
editing
boolean
Retouren
void
setGraphElement()
setGraphElement(
el):void
Gedefinieerd in: Note.ts:107
Parameters
el
SVGGElement
Retouren
void
setPosition()
setPosition(
x,y):void
Gedefinieerd in: Note.ts:82
Parameters
x
number
y
number
Retouren
void
setSize()
setSize(
width,height):void
Gedefinieerd in: Note.ts:87
Parameters
width
number
height
number
Retouren
void
setSurface()
setSurface(
surface):void
Gedefinieerd in: Note.ts:102
Parameters
surface
Retouren
void
toJSON()
toJSON():
NoteOptions
Gedefinieerd in: Note.ts:141
De gewone opties die deze notitie opnieuw opbouwen: new Note(note.toJSON()) of graph.addNote(note.toJSON()) op een andere grafiek. Zichtbaarheid wordt weggelaten, zoals het verbergen van notities is een weergavestatus en geen onderdeel van de notitie.
Retouren
Eigenschappen
color
color:
string
Gedefinieerd in: Note.ts:49
content
content:
string
Gedefinieerd in: Note.ts:48
domID
readonlydomID:string
Gedefinieerd in: Note.ts:60
height
height:
number
Gedefinieerd in: Note.ts:46
id
id:
string
Gedefinieerd in: Note.ts:40
surface
surface:
NoteSurface
Gedefinieerd in: Note.ts:50
visible
visible:
boolean
Gedefinieerd in: Note.ts:51
width
width:
number
Gedefinieerd in: Note.ts:45
x
x:
number
Gedefinieerd in: Note.ts:42
y
y:
number
Gedefinieerd in: Note.ts:43