new MtgAppApi()
- Source:
- Mixes In:
MtgApp avec les méthodes de l'api ajoutées
Extends
Members
arrayObjAConst :Array.<number>
- Source:
- Inherited From:
Liste des index des objets à construire (dans la macro) ?
Type:
- Array.<number>
barCalculs :ExpandableBar
- Source:
- Inherited From:
Type:
barCercles :ExpandableBar
- Source:
- Inherited From:
Type:
barDisp :ExpandableBar
- Source:
- Inherited From:
Type:
barDivers :ExpandableBar
- Source:
- Inherited From:
Type:
barDroites :ExpandableBar
- Source:
- Inherited From:
Type:
barLieux :ExpandableBar
- Source:
- Inherited From:
Type:
barMarques :ExpandableBar
- Source:
- Inherited From:
Type:
barMes :ExpandableBar
- Source:
- Inherited From:
Type:
barPoints :ExpandableBar
- Source:
- Inherited From:
Type:
barPolys :ExpandableBar
- Source:
- Inherited From:
Type:
barSegments :ExpandableBar
- Source:
- Inherited From:
Type:
barSurfaces :ExpandableBar
- Source:
- Inherited From:
Type:
barTransf :ExpandableBar
- Source:
- Inherited From:
Type:
buttonAddCalcul :ButtonToolAdd
- Source:
- Inherited From:
Type:
buttonAddDisp :ButtonToolAdd
- Source:
- Inherited From:
Type:
buttonAddDivers :ButtonToolAdd
- Source:
- Inherited From:
Type:
buttonAddPoint :ButtonToolAdd
- Source:
- Inherited From:
Type:
buttonAddTransf :ButtonToolAdd
- Source:
- Inherited From:
Type:
buttonAffichageCoord :ButtonTool
- Source:
- Inherited From:
Type:
buttonAffichageCoordLie :ButtonTool
- Source:
- Inherited From:
Type:
buttonAffichageEq :ButtonTool
- Source:
- Inherited From:
Type:
buttonAffichageEqLie :ButtonTool
- Source:
- Inherited From:
Type:
buttonAffichageValeur :ButtonTool
- Source:
- Inherited From:
Type:
buttonAffichageValeurLiePt :ButtonTool
- Source:
- Inherited From:
Type:
buttonAnimation :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcDirect :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcDirectParAng :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcGrand :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcGrandParAng :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcGrandParRapporteur :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcIndirect :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcIndirectParAng :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcParRapporteur :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcPetit :ButtonTool
- Source:
- Inherited From:
Type:
buttonArcPetitParAng :ButtonTool
- Source:
- Inherited From:
Type:
buttonBarycentre :ButtonTool
- Source:
- Inherited From:
Type:
buttonCalcul :ButtonTool
- Source:
- Inherited From:
Type:
buttonCalculComp :ButtonTool
- Source:
- Inherited From:
Type:
buttonCapt :ButtonTool
- Source:
- Inherited From:
Type:
buttonCentreGrav :ButtonTool
- Source:
- Inherited From:
Type:
buttonCerOA :ButtonTool
- Source:
- Inherited From:
Type:
buttonCerOAB :ButtonTool
- Source:
- Inherited From:
Type:
buttonCerOR :ButtonTool
- Source:
- Inherited From:
Type:
buttonCommentaire :ButtonTool
- Source:
- Inherited From:
Type:
buttonCommentaireLiePt :ButtonTool
- Source:
- Inherited From:
Type:
buttonCourbeAvecTan :ButtonTool
- Source:
- Inherited From:
Type:
buttonCourbeFonc :ButtonTool
- Source:
- Inherited From:
Type:
buttonCourbeFoncCr :ButtonTool
- Source:
- Inherited From:
Type:
buttonCourbePoly :ButtonTool
- Source:
- Inherited From:
Type:
buttonCouronne :ButtonTool
- Source:
- Inherited From:
Type:
buttonCreationLiaison :ButtonTool
- Source:
- Inherited From:
Type:
buttonCreationLiaisonAff :ButtonTool
- Source:
- Inherited From:
Type:
buttonCurseur :ButtonTool
- Source:
- Inherited From:
Type:
buttonDemarquerPt :ButtonTool
- Source:
- Inherited From:
Type:
buttonDemiDt :ButtonTool
- Source:
- Inherited From:
Type:
buttonDemiPlan :ButtonTool
- Source:
- Inherited From:
Type:
buttonDepunaiser :ButtonTool
- Source:
- Inherited From:
Type:
buttonDerivee :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtAB :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtBis :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtHor :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtMed :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtPar :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtParCoef :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtParEq :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtPer :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtReg :ButtonTool
- Source:
- Inherited From:
Type:
buttonDtVer :ButtonTool
- Source:
- Inherited From:
Type:
buttonEditeurFormule :ButtonTool
- Source:
- Inherited From:
Type:
buttonFonc :ButtonTool
- Source:
- Inherited From:
Type:
buttonFoncComp :ButtonTool
- Source:
- Inherited From:
Type:
buttonGrapheSuiteRec :ButtonTool
- Source:
- Inherited From:
Type:
buttonGrapheSuiteRecComp :ButtonTool
- Source:
- Inherited From:
Type:
buttonHom :ButtonTool
- Source:
- Inherited From:
Type:
buttonImageLibre :ButtonTool
- Source:
- Inherited From:
Type:
buttonImageLiee :ButtonTool
- Source:
- Inherited From:
Type:
buttonInt :ButtonTool
- Source:
- Inherited From:
Type:
buttonLatex :ButtonTool
- Source:
- Inherited From:
Type:
buttonLatexLiePt :ButtonTool
- Source:
- Inherited From:
Type:
buttonLieuDiscretParPtLie :ButtonTool
- Source:
- Inherited From:
Type:
buttonLieuDiscretParVariable :ButtonTool
- Source:
- Inherited From:
Type:
buttonLieuObjetParPtLie :ButtonTool
- Source:
- Inherited From:
Type:
buttonLieuObjetParVariable :ButtonTool
- Source:
- Inherited From:
Type:
buttonLieuParPtLie :ButtonTool
- Source:
- Inherited From:
Type:
buttonLieuParVariable :ButtonTool
- Source:
- Inherited From:
Type:
buttonLigneBrisee :ButtonTool
- Source:
- Inherited From:
Type:
buttonLosange :ButtonTool
- Source:
- Inherited From:
Type:
buttonMarqueAng :ButtonTool
- Source:
- Inherited From:
Type:
buttonMarqueAngOr :ButtonTool
- Source:
- Inherited From:
Type:
buttonMarqueAngOrSD :ButtonTool
- Source:
- Inherited From:
Type:
buttonMarqueAngOrSI :ButtonTool
- Source:
- Inherited From:
Type:
buttonMarquerPt :ButtonTool
- Source:
- Inherited From:
Type:
buttonMarqueSeg :ButtonTool
- Source:
- Inherited From:
Type:
buttonMax :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesAbs :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesAbsRep :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesAffRep :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesAire :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesAngNor :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesAngOr :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesCoefDir :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesLong :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesLongLigne :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesLongOr :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesOrdRep :ButtonTool
- Source:
- Inherited From:
Type:
buttonMesProSca :ButtonTool
- Source:
- Inherited From:
Type:
buttonMilieu :ButtonTool
- Source:
- Inherited From:
Type:
buttonMin :ButtonTool
- Source:
- Inherited From:
Type:
buttonParallelog :ButtonTool
- Source:
- Inherited From:
Type:
buttonPolygone :ButtonTool
- Source:
- Inherited From:
Type:
buttonPolygoneReg :ButtonTool
- Source:
- Inherited From:
Type:
buttonProj :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtBaseEnt :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtInterieur :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtLib :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtLie :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtParAbs :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtParAff :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtParCoord :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtParMultVec :ButtonTool
- Source:
- Inherited From:
Type:
buttonPtParSommeVec :ButtonTool
- Source:
- Inherited From:
Type:
buttonPunaiser :ButtonTool
- Source:
- Inherited From:
Type:
buttonRapporteur :ButtonTool
- Source:
- Inherited From:
Type:
buttonRectangle :ButtonTool
- Source:
- Inherited From:
Type:
buttonRepere :ButtonTool
- Source:
- Inherited From:
Type:
buttonRot :ButtonTool
- Source:
- Inherited From:
Type:
buttonSeg :ButtonTool
- Source:
- Inherited From:
Type:
buttonSegmentParLong :ButtonTool
- Source:
- Inherited From:
Type:
buttonSim :ButtonTool
- Source:
- Inherited From:
Type:
buttonSolutionEq :ButtonTool
- Source:
- Inherited From:
Type:
buttonStyleButtons :Array.<ButtonStyleButton>
- Source:
- Inherited From:
boutons de choix de style de point
Type:
- Array.<ButtonStyleButton>
buttonSuiteRec :ButtonTool
- Source:
- Inherited From:
Type:
buttonSuiteRecComplexe :ButtonTool
- Source:
- Inherited From:
Type:
buttonSuppressionLiaison :ButtonTool
- Source:
- Inherited From:
Type:
buttonSuppressionLiaisonAff :ButtonTool
- Source:
- Inherited From:
Type:
buttonSurface :ButtonTool
- Source:
- Inherited From:
Type:
buttonSurface2Lieux :ButtonTool
- Source:
- Inherited From:
Type:
buttonSurfaceLieu2Pts :ButtonTool
- Source:
- Inherited From:
Type:
buttonSurfaceLieuDroite :ButtonTool
- Source:
- Inherited From:
Type:
buttonSymAxiale :ButtonTool
- Source:
- Inherited From:
Type:
buttonSymCentrale :ButtonTool
- Source:
- Inherited From:
Type:
buttonTangente :ButtonTool
- Source:
- Inherited From:
Type:
buttonTrans :ButtonTool
- Source:
- Inherited From:
Type:
buttonTransParCoord :ButtonTool
- Source:
- Inherited From:
Type:
buttonTriangleEq :ButtonTool
- Source:
- Inherited From:
Type:
buttonVariable :ButtonTool
- Source:
- Inherited From:
Type:
buttonVect :ButtonTool
- Source:
- Inherited From:
Type:
cadre :SVGElement|null
- Source:
- Inherited From:
null par défaut (pas de cadre pour visualiser un cadre de dimensions données par l'utilisateur) On pourra demander un tel cadre via les options de la figure
Type:
- SVGElement | null
clignotementPair :boolean
- Source:
- Inherited From:
?
Type:
- boolean
codeBase64 :boolean
- Source:
- Inherited From:
Si true on affiche le bouton pour exporter le code base64 de la figure
Type:
- boolean
colorChoicePanel :ColorChoicePanel
- Source:
- Inherited From:
Type:
colorPanel :SVGGElement
- Source:
- Inherited From:
Type:
- SVGGElement
comm :null
- Source:
- Inherited From:
Pointeur sur le commentaire d'indication, null au départ
Type:
- null
commentaireDesignation :CCommentaire
- Source:
- Inherited From:
Type:
commentaireTip :CCommentaire
- Source:
- Inherited From:
Un affichage de texte pour afficher une sorte de tipTool quand la souris survole un bouton
Type:
couleurActive :Color
- Source:
- Inherited From:
Couleur active
Type:
dimf :Dimf
- Source:
- Inherited From:
Dimensions de la fenêtre
Type:
displayOnLoad :boolean
- Source:
- Inherited From:
Si true, la figure s'affiche automatiquement dès qu'elle est prête (sinon faudra appeler calculateAndDisplay)
Type:
- boolean
divDlg :HTMLDivElement
- Source:
- Inherited From:
div centré sur l'écran pour les boîtes de dialogue
Type:
- HTMLDivElement
dlg :Array.<string>
- Source:
- Inherited From:
tableau contenant les id des boîtes de dialogues ouvertes
Type:
- Array.<string>
doc :CMathGraphDoc
- Source:
- Inherited From:
La figure
Type:
docCons :CMathGraphDoc
- Source:
- Inherited From:
Document contenant les macros constructions de base utilisées
Type:
docConsAv :CMathGraphDoc
- Source:
- Inherited From:
Document pour contenir les constructions avancées comme les courbes avec crochet
Type:
dys :boolean
- Source:
- Inherited From:
True pour un affichage plus adapté aux dys
Type:
- boolean
edition :boolean
- Source:
- Inherited From:
Flag pour savoir si on est en mode édition (sinon player only)
Type:
- boolean
electron :boolean
- Source:
- Inherited From:
true si on est dans electron
Type:
- boolean
elementCapture :null|COb
- Source:
- Inherited From:
L'éventuel élément capturé
Type:
- null | COb
estExercice :boolean
- Source:
- Inherited From:
True si on est un exercice de construction (mais pas en édition)
Type:
- boolean
expandableBars :Array.<ExpandableBar>
- Source:
- Inherited From:
Type:
- Array.<ExpandableBar>
functionOnSave :function
- Source:
- Inherited From:
Callback pour envoyer la figure
Type:
- function
gestionnaire :Gestionnaire
- Source:
- Inherited From:
??
Type:
gLineStyle :SVGGElement
- Source:
- Inherited From:
Style de ligne
Type:
- SVGGElement
id :string
- Source:
- Inherited From:
id du svg
Type:
- string
infoProx :InfoProx
- Source:
- Inherited From:
?
Type:
level :CMathGraphDoc
- Source:
- Inherited From:
Les 4 figures du level courant
Type:
levelIndex :number
- Source:
- Inherited From:
Index du level courant (utilisé dans getResult)
Type:
- number
levels :Array.<CMathGraphDoc>
- Source:
- Inherited From:
Type:
- Array.<CMathGraphDoc>
lineStyle :number
- Source:
- Inherited From:
Style de ligne
Type:
- number
lineStyleButtons :Array.<LineStyleButton>
- Source:
- Inherited From:
boutons de choix de style de ligne
Type:
- Array.<LineStyleButton>
listeARecalculer :CListeObjets
- Source:
- Inherited From:
?
Type:
listeClignotante :CListeObjets
- Source:
- Inherited From:
Objets pour gérer le clignotement utilisé par les outils de création
Type:
listeExclusion :CListeObjets
- Source:
- Inherited From:
Les objets qu'on ne peut pas désigner
Type:
listeFinG :CSousListeObjets
- Source:
- Inherited From:
Type:
listeFinNG :CSousListeObjets
- Source:
- Inherited From:
Type:
listeObjetsVisuels :CListeObjets
- Source:
- Inherited From:
?
Type:
listePourConst :CListeObjets
- Source:
- Inherited From:
???
Type:
listePr :CListeObjets
- Source:
- Inherited From:
Raccourci pour la liste de tous les objets (idem this.doc.listePr)
Type:
listeSrcG :CSousListeObjets
- Source:
- Inherited From:
Type:
listeSrcNG :CSousListeObjets
- Source:
- Inherited From:
Type:
local :boolean
- Source:
- Inherited From:
Fonctionnement en local
Type:
- boolean
macroAnimation :CMacroAnimationFigure
- Source:
- Inherited From:
macro d'animation de point lié qui servira pour les animations directes
Type:
macroPourConst :CMacroApparition|null
- Source:
- Inherited From:
???
Type:
- CMacroApparition | null
marqueAngleButtons :Array.<MarqueAngleButton>
- Source:
- Inherited From:
boutons de choix de style de marque d'angle
Type:
- Array.<MarqueAngleButton>
marqueAnglePanel :SVGGElement
- Source:
- Inherited From:
Bouton courant du style de marque d'angle ?
Type:
- SVGGElement
marqueSegmentButtons :Array.<MarqueSegmentButton>
- Source:
- Inherited From:
boutons de choix de style de marque de segment
Type:
- Array.<MarqueSegmentButton>
marqueSegmentPanel :SVGGElement
- Source:
- Inherited From:
Marque de segment
Type:
- SVGGElement
modeBilan :boolean
- Source:
- Inherited From:
True si on est en mode bilan (à priori dans LaboMep)
Type:
- boolean
mousePoint :CPointBase
- Source:
- Inherited From:
Point qui servira à suivre les mouvements de la souris
Type:
nameEditor :NameEditor
- Source:
- Inherited From:
Éditeur de formule pour entrer les noms de points et droites à la volée
Type:
nbObj :number
- Source:
- Inherited From:
nombre d'objets de la figure au chargement
Type:
- number
nbObjInit :number
- Source:
- Inherited From:
Nb d'objets dans le résultat (passé par mtgOptions.resultatContenu) ou la figure
Type:
- number
newFig :boolean
- Source:
- Inherited From:
Si true on affichera le bouton "nouvelle figure"
Type:
- boolean
onlyPoints :boolean
- Source:
- Inherited From:
???
Type:
- boolean
opacitySlider :Slider
- Source:
- Inherited From:
Type:
open :boolean
- Source:
- Inherited From:
Si true on affiche le bouton ouvrir
Type:
- boolean
options :boolean
- Source:
- Inherited From:
Si true on affichera le bouton options
Type:
- boolean
outilAbsOrRep :OutilAbsOrRep
- Source:
- Inherited From:
Type:
outilActif :OutilCapt
- Source:
- Inherited From:
Outil courant
Type:
outilActifPrec :OutilCapt
- Source:
- Inherited From:
Type:
outilAddCalcul :OutilAdd
- Source:
- Inherited From:
Type:
outilAddConst :OutilAddConst
- Source:
- Inherited From:
Type:
outilAddCreationConst :OutilAdd
- Source:
- Inherited From:
Outil utilisé dans l'outil de gestion des constructions
Type:
outilAddDisp :OutilAdd
- Source:
- Inherited From:
Type:
outilAddDivers :OutilAdd
- Source:
- Inherited From:
Type:
outilAddExport :OutilAdd
- Source:
- Inherited From:
Cet outil ne sera pas associé à un bouton mais utilisé dans le dialogue d'exportation
Type:
outilAddGestionConst :OutilAdd
- Source:
- Inherited From:
Outil utilisé dans l'outil de gestion des constructions
Type:
outilAddObjMac :OutilAddObjMac
- Source:
- Inherited From:
Type:
outilAddPoint :OutilAdd
- Source:
- Inherited From:
Type:
outilAddTransf :OutilAdd
- Source:
- Inherited From:
Type:
outilAffichageCoord :OutilAffichageCoord
- Source:
- Inherited From:
Type:
outilAffichageCoordLie :OutilAffichageCoordLie
- Source:
- Inherited From:
Type:
outilAffichageEq :OutilAffichageEq
- Source:
- Inherited From:
Type:
outilAffichageEqLie :OutilAffichageEqLie
- Source:
- Inherited From:
Type:
outilAffichageValeur :OutilAffichageValeur
- Source:
- Inherited From:
Type:
outilAffichageValeurLiePt :OutilAffichageValeurLiePt
- Source:
- Inherited From:
Type:
outilAnimation :OutilAnimation
- Source:
- Inherited From:
Type:
outilAnnuler :OutilAnnuler
- Source:
- Inherited From:
Type:
outilArcDirect :OutilArcDirect
- Source:
- Inherited From:
Type:
outilArcDirectParAng :OutilArcDirectParAng
- Source:
- Inherited From:
Type:
outilArcGrand :OutilArcGrand
- Source:
- Inherited From:
Type:
outilArcGrandParAng :OutilArcGrandParAng
- Source:
- Inherited From:
Type:
outilArcGrandParRapporteur :OutilArcGrandParRapporteur
- Source:
- Inherited From:
Type:
outilArcIndirect :OutilArcIndirect
- Source:
- Inherited From:
Type:
outilArcIndirectParAng :OutilArcIndirectParAng
- Source:
- Inherited From:
Type:
outilArcParRapporteur :OutilArcParRapporteur
- Source:
- Inherited From:
Type:
outilArcPetit :OutilArcPetit
- Source:
- Inherited From:
Type:
outilArcPetitParAng :OutilArcPetitParAng
- Source:
- Inherited From:
Type:
outilArgument :OutilArgument
- Source:
- Inherited From:
Type:
outilBarycentre :OutilBarycentre
- Source:
- Inherited From:
Type:
outilCalcul :OutilCalcul
- Source:
- Inherited From:
Type:
outilCalculComp :OutilCalculComp
- Source:
- Inherited From:
Type:
outilCalculMat :OutilCalculMat
- Source:
- Inherited From:
Type:
outilCapt :OutilCapt
- Source:
- Inherited From:
Type:
outilCaptNom :OutilCaptNom
- Source:
- Inherited From:
Type:
outilCarre :OutilCarre
- Source:
- Inherited From:
Type:
outilCentreCercle :OutilCentreCercle
- Source:
- Inherited From:
Outil pour créer le centre d'un cercle
Type:
outilCentreGrav :OutilCentreGrav
- Source:
- Inherited From:
Type:
outilCerOA :OutilCerOA
- Source:
- Inherited From:
Type:
outilCerOAB :OutilCerOAB
- Source:
- Inherited From:
Type:
outilCerOR :OutilCerOR
- Source:
- Inherited From:
Type:
outilChoixFinGraphConst :OutilChoixFinGraphConst
- Source:
- Inherited From:
Type:
outilChoixFinNumConst :OutilChoixFinNumConst
- Source:
- Inherited From:
Type:
outilChoixSrcGraphConst :OutilChoixSrcGraphConst
- Source:
- Inherited From:
Type:
outilChoixSrcNumConst :OutilChoixSrcNumConst
- Source:
- Inherited From:
Type:
outilCodeBase64 :OutilCodeBase64
- Source:
- Inherited From:
Type:
outilCodeTikz :OutilCodeTikz
- Source:
- Inherited From:
Type:
outilCommentaire :OutilCommentaire
- Source:
- Inherited From:
Type:
outilCommentaireLiePt :OutilCommentaireLiePt
- Source:
- Inherited From:
Type:
outilCopierStyle :OutilCopierStyle
- Source:
- Inherited From:
Type:
outilCopy :OutilCopy
- Source:
- Inherited From:
Type:
outilCopyWithUnity :OutilCopyWithUnity
- Source:
- Inherited From:
Type:
outilCourbeAvecTan :OutilCourbeAvecTan
- Source:
- Inherited From:
Type:
outilCourbeFonc :OutilCourbeFonc
- Source:
- Inherited From:
Type:
outilCourbeFoncCr :OutilCourbeFoncCr
- Source:
- Inherited From:
Type:
outilCourbePoly :OutilCourbePoly
- Source:
- Inherited From:
Type:
outilCouronne :OutilCouronne
- Source:
- Inherited From:
Type:
outilCreationConst :OutilCreationConst
- Source:
- Inherited From:
Type:
outilCreationLiaison :OutilCreationLiaison
- Source:
- Inherited From:
Type:
outilCreationLiaisonAff :OutilCreationLiaisonAff
- Source:
- Inherited From:
Type:
outilCurseur :OutilCurseur
- Source:
- Inherited From:
Type:
outilDemarquerPt :OutilDemarquerPt
- Source:
- Inherited From:
Type:
outilDemiDt :OutilDemiDt
- Source:
- Inherited From:
Type:
outilDemiPlan :OutilDemiPlan
- Source:
- Inherited From:
Type:
outilDepunaiser :OutilDepunaiser
- Source:
- Inherited From:
Type:
outilDerivee :OutilDerivee
- Source:
- Inherited From:
Type:
outilDeriveePart :OutilDeriveePartielle
- Source:
- Inherited From:
Type:
outilDet :OutilDet
- Source:
- Inherited From:
Type:
outilDtAB :OutilDtAB
- Source:
- Inherited From:
Type:
outilDtBis :OutilDtBis
- Source:
- Inherited From:
Type:
outilDtHor :OutilDtHor
- Source:
- Inherited From:
Type:
outilDtMed :OutilDtMed
- Source:
- Inherited From:
Type:
outilDtPar :OutilDtPar
- Source:
- Inherited From:
Type:
outilDtParCoef :OutilDtParCoef
- Source:
- Inherited From:
Type:
outilDtParEq :OutilDtParEq
- Source:
- Inherited From:
Type:
outilDtPer :OutilDtPer
- Source:
- Inherited From:
Type:
outilDtReg :OutilDtReg
- Source:
- Inherited From:
Type:
outilDtVer :OutilDtVer
- Source:
- Inherited From:
Type:
outilEditeurFormule :OutilEditeurFormule
- Source:
- Inherited From:
Type:
outilExecutionMacro :OutilExecutionMacro
- Source:
- Inherited From:
Type:
outilExport :OutilExportFig
- Source:
- Inherited From:
Type:
outilExportHTML :OutilExportHTML
- Source:
- Inherited From:
Type:
outilFinirConst :OutilFinirConst
- Source:
- Inherited From:
Type:
outilFonc :OutilFonc
- Source:
- Inherited From:
Type:
outilFonc2Var :OutilFonc2Var
- Source:
- Inherited From:
Outil pour créer des objets numériques supplémentaires
Type:
outilFonc3Var :OutilFonc3Var
- Source:
- Inherited From:
Type:
outilFoncComp :OutilFoncComp
- Source:
- Inherited From:
Type:
outilFoncComp2Var :OutilFoncComp2Var
- Source:
- Inherited From:
Type:
outilFoncComp3Var :OutilFoncComp3Var
- Source:
- Inherited From:
Type:
outilFusionImpConst :OutilFusionImpConst
- Source:
- Inherited From:
Type:
outilGestionConst :OutilGestionConst
- Source:
- Inherited From:
Type:
outilGomme :OutilGomme
- Source:
- Inherited From:
Type:
outilGraduationAxes :OutilGraduationAxes
- Source:
- Inherited From:
Type:
outilGrapheSuiteRec :OutilGrapheSuiteRec
- Source:
- Inherited From:
Type:
outilGrapheSuiteRecComp :OutilGrapheSuiteRecComp
- Source:
- Inherited From:
Type:
outilHelp :OutilHelp
- Source:
- Inherited From:
Type:
outilHom :OutilHom
- Source:
- Inherited From:
Type:
outilImageInv :OutilImageInv
- Source:
- Inherited From:
Outil pour créer l'image d'un point par une inversion
Type:
outilImageLibre :OutilImageLibre
- Source:
- Inherited From:
Type:
outilImageLiee :OutilImageLiee
- Source:
- Inherited From:
Type:
outilImpConstFig :OutilImpConstFig
- Source:
- Inherited From:
Type:
outilInt :OutilInt
- Source:
- Inherited From:
Type:
outilInteg :OutilInteg
- Source:
- Inherited From:
Type:
outilLastInd :OutilLastInd
- Source:
- Inherited From:
Type:
outilLatex :OutilLatex
- Source:
- Inherited From:
Type:
outilLatexLiePt :OutilLatexLiePt
- Source:
- Inherited From:
Type:
outilLieuDiscretParPtLie :OutilLieuDiscretParPtLie
- Source:
- Inherited From:
Type:
outilLieuDiscretParVariable :OutilLieuDiscretParVariable
- Source:
- Inherited From:
Type:
outilLieuObjetParPtLie :OutilLieuObjetParPtLie
- Source:
- Inherited From:
Type:
outilLieuObjetParVariable :OutilLieuObjetParVariable
- Source:
- Inherited From:
Type:
outilLieuParPtLie :OutilLieuParPtLie
- Source:
- Inherited From:
Type:
outilLieuParVariable :OutilLieuParVariable
- Source:
- Inherited From:
Type:
outilLigneBrisee :OutilLigneBrisee
- Source:
- Inherited From:
Type:
outilLongUnit :OutilLongUnit
- Source:
- Inherited From:
Type:
outilLosange :OutilLosange
- Source:
- Inherited From:
Type:
outilMacActTr :OutilMacActTr
- Source:
- Inherited From:
Type:
outilMacAffPtLie :OutilMacAffPtLie
- Source:
- Inherited From:
Type:
outilMacAffValVar :OutilMacAffValVar
- Source:
- Inherited From:
Type:
outilMacAnim :OutilMacAnim
- Source:
- Inherited From:
Type:
outilMacAnimParVar :OutilMacAnimParVar
- Source:
- Inherited From:
Type:
outilMacAnimParVarTr :OutilMacAnimParVarTr
- Source:
- Inherited From:
Type:
outilMacAnimTr :OutilMacAnimTr
- Source:
- Inherited From:
Type:
outilMacApp :OutilMacApp
- Source:
- Inherited From:
Type:
outilMacAppParAut :OutilMacAppParAut
- Source:
- Inherited From:
Type:
outilMacBoucAnim :OutilMacBoucAnim
- Source:
- Inherited From:
Type:
outilMacBoucTr :OutilMacBoucTr
- Source:
- Inherited From:
Type:
outilMacClign :OutilMacClign
- Source:
- Inherited From:
Type:
outilMacConsIter :OutilMacConsIter
- Source:
- Inherited From:
Type:
outilMacConsRec :OutilMacConsRec
- Source:
- Inherited From:
Type:
outilMacDecVar :OutilMacDecVar
- Source:
- Inherited From:
Type:
outilMacDesactTr :OutilMacDesactTr
- Source:
- Inherited From:
Type:
outilMacDisp :OutilMacDisp
- Source:
- Inherited From:
Type:
outilMacDispParAut :OutilMacDispParAut
- Source:
- Inherited From:
Type:
outilMacIncVar :OutilMacIncVar
- Source:
- Inherited From:
Type:
outilMacJouantSon :OutilMacJouantSon
- Source:
- Inherited From:
Type:
outilMacModifVar :OutilMacModifVar
- Source:
- Inherited From:
Type:
outilMacPause :OutilMacPause
- Source:
- Inherited From:
Type:
outilMacReaff :OutilMacReaff
- Source:
- Inherited From:
Type:
outilMacSuiteMac :OutilMacSuiteMac
- Source:
- Inherited From:
Type:
outilMacTraceAutoVa :OutilMacTraceAutoVa
- Source:
- Inherited From:
Type:
outilMarqueAng :OutilMarqueAng
- Source:
- Inherited From:
Type:
outilMarqueAngOr :OutilMarqueAngOr
- Source:
- Inherited From:
Type:
outilMarqueAngOrSD :OutilMarqueAngOrSD
- Source:
- Inherited From:
Type:
outilMarqueAngOrSI :OutilMarqueAngOrSI
- Source:
- Inherited From:
Type:
outilMarquerPt :OutilMarquerPt
- Source:
- Inherited From:
Type:
outilMarqueSeg :OutilMarqueSeg
- Source:
- Inherited From:
Type:
outilMatDecomp :OutilMatDecomp
- Source:
- Inherited From:
Type:
outilMatrice :OutilMatrice
- Source:
- Inherited From:
Type:
outilMatriceAleat :OutilMatriceAleat
- Source:
- Inherited From:
Type:
outilMatriceCoord :OutilMatriceCoord
- Source:
- Inherited From:
Type:
outilMatriceParForm :OutilMatriceParForm
- Source:
- Inherited From:
Type:
outilMatriceParTxt :OutilMatriceParTxt
- Source:
- Inherited From:
Type:
outilMax :OutilMax
- Source:
- Inherited From:
Type:
outilMesAbs :OutilMesAbs
- Source:
- Inherited From:
Type:
outilMesAbsRep :OutilMesAbsRep
- Source:
- Inherited From:
Type:
outilMesAffRep :OutilMesAffRep
- Source:
- Inherited From:
Type:
outilMesAire :OutilMesAire
- Source:
- Inherited From:
Type:
outilMesAngNor :OutilMesAngNor
- Source:
- Inherited From:
Type:
outilMesAngOr :OutilMesAngOr
- Source:
- Inherited From:
Type:
outilMesCoefDir :OutilMesCoefDir
- Source:
- Inherited From:
Type:
outilMesLong :OutilMesLong
- Source:
- Inherited From:
Type:
outilMesLongLigne :OutilMesLongLigne
- Source:
- Inherited From:
Type:
outilMesLongOr :OutilMesLongOr
- Source:
- Inherited From:
Type:
outilMesOrdRep :OutilMesOrdRep
- Source:
- Inherited From:
Type:
outilMesProSca :OutilMesProSca
- Source:
- Inherited From:
Type:
outilMilieu :OutilMilieu
- Source:
- Inherited From:
Type:
outilMin :OutilMin
- Source:
- Inherited From:
Type:
outilModePointsAuto :OutilModePointsAuto
- Source:
- Inherited From:
Type:
outilModeTrace :OutilModeTrace
- Source:
- Inherited From:
Type:
outilModifConst :OutilModifConst
- Source:
- Inherited From:
Type:
outilModifObjGraph :OutilModifObjGraph
- Source:
- Inherited From:
Type:
outilModifObjNum :OutilModifObjNum
- Source:
- Inherited From:
Type:
outilModule :OutilModule
- Source:
- Inherited From:
Type:
outilNew :OutilNew
- Source:
- Inherited From:
Type:
outilNommer :OutilNommer
- Source:
- Inherited From:
Type:
outilNuagePt :OutilNuagePt
- Source:
- Inherited From:
Type:
outilObjetClone :OutilObjetClone
- Source:
- Inherited From:
Type:
outilObjetDuplique :OutilObjetDuplique
- Source:
- Inherited From:
Type:
outilOpen :OutilOpen
- Source:
- Inherited From:
Type:
outilOptionsFig :OutilOptionsFig
- Source:
- Inherited From:
Type:
outilOrdOrRep :OutilOrdOrRep
- Source:
- Inherited From:
Type:
outilPalette :OutilPalette
- Source:
- Inherited From:
Type:
outilParallelog :OutilParallelog
- Source:
- Inherited From:
Type:
outilPartieImaginaire :OutilPartieImaginaire
- Source:
- Inherited From:
Type:
outilPartieReelle :OutilPartieReelle
- Source:
- Inherited From:
Type:
outilPointageCapture :OutilPointageCapture
- Source:
- Inherited From:
Type:
outilPointageCaptureNom :OutilPointageCaptureNom
- Source:
- Inherited From:
Type:
outilPointageClic :OutilPointageClic
- Source:
- Inherited From:
Type:
outilPointageClicOuPt :OutilPointageClicOuPt
- Source:
- Inherited From:
Type:
outilPointageCre :OutilPointageCre
- Source:
- Inherited From:
Type:
outilPointageExecMac :OutilPointageExecMac
- Source:
- Inherited From:
Type:
outilPointageInt :OutilPointageInt
- Source:
- Inherited From:
Type:
outilPointageObjetClignotant :OutilPointageObjetClignotant
- Source:
- Inherited From:
Type:
outilPointageRapporteur :OutilPointageRapporteur
- Source:
- Inherited From:
Type:
outilPointageTranslation :OutilPointageTranslation
- Source:
- Inherited From:
Type:
outilPolygone :OutilPolygone
- Source:
- Inherited From:
Type:
outilPolygoneReg :OutilPolygoneReg
- Source:
- Inherited From:
Type:
outilProdInd :OutilProdInd
- Source:
- Inherited From:
Type:
outilProj :OutilProj
- Source:
- Inherited From:
Type:
outilProtocole :OutilProtocole
- Source:
- Inherited From:
Type:
outilPtBaseEnt :OutilPtBaseEnt
- Source:
- Inherited From:
Type:
outilPtInterieur :OutilPtInterieur
- Source:
- Inherited From:
Type:
outilPtLib :OutilPtLib
- Source:
- Inherited From:
Type:
outilPtLie :OutilPtLie
- Source:
- Inherited From:
Type:
outilPtParAbs :OutilPtParAbs
- Source:
- Inherited From:
Type:
outilPtParAff :OutilPtParAff
- Source:
- Inherited From:
Type:
outilPtParCoord :OutilPtParCoord
- Source:
- Inherited From:
Type:
outilPtParMultVec :OutilPtParMultVec
- Source:
- Inherited From:
Type:
outilPtParSommeVec :OutilPtParSommeVec
- Source:
- Inherited From:
Type:
outilPunaiser :OutilPunaiser
- Source:
- Inherited From:
Type:
outilRapporteur :OutilRapporteur
- Source:
- Inherited From:
Type:
outilRecalculer :OutilRecalculer
- Source:
- Inherited From:
Type:
outilReclassDebObjGra :OutilReclassDebObjGra
- Source:
- Inherited From:
Type:
outilReclassFinObjGra :OutilReclassFinObjGra
- Source:
- Inherited From:
Type:
outilRectangle :OutilRectangle
- Source:
- Inherited From:
Type:
outilRefaire :OutilRefaire
- Source:
- Inherited From:
Type:
outilReInitConst :OutilReInitConst
- Source:
- Inherited From:
Type:
outilRenommerCalcul :OutilRenommerCalcul
- Source:
- Inherited From:
Type:
outilRepere :OutilRepere
- Source:
- Inherited From:
Type:
outilRideau :OutilRideau
- Source:
- Inherited From:
Type:
outilRot :OutilRot
- Source:
- Inherited From:
Type:
outilSave :OutilSave
- Source:
- Inherited From:
Type:
outilSaveConst :OutilSaveConst
- Source:
- Inherited From:
Type:
outilSaveJPG :OutilSaveJPG
- Source:
- Inherited From:
Type:
outilSavePNG :OutilSavePNG
- Source:
- Inherited From:
Type:
outilSavePNGWithUnity :OutilSavePNGWithUnity
- Source:
- Inherited From:
Type:
outilSaveSVG :OutilSaveSVG
- Source:
- Inherited From:
Type:
outilSeg :OutilSeg
- Source:
- Inherited From:
Type:
outilSegmentParLong :OutilSegmentParLong
- Source:
- Inherited From:
Type:
outilSim :OutilSim
- Source:
- Inherited From:
Type:
outilSolutionEq :OutilSolutionEq
- Source:
- Inherited From:
Type:
outilSomInd :OutilSomInd
- Source:
- Inherited From:
Type:
outilSuiteRec :OutilSuiteRec
- Source:
- Inherited From:
Type:
outilSuiteRec2 :OutilSuiteRec
- Source:
- Inherited From:
Type:
outilSuiteRec3 :OutilSuiteRec
- Source:
- Inherited From:
Type:
outilSuiteRecComplexe :OutilSuiteRecComplexe
- Source:
- Inherited From:
Type:
outilSuiteRecComplexe2 :OutilSuiteRecComplexe
- Source:
- Inherited From:
Type:
outilSuiteRecComplexe3 :OutilSuiteRecComplexe
- Source:
- Inherited From:
Type:
outilSup :OutilSup
- Source:
- Inherited From:
Type:
outilSupConst :OutilSupConst
- Source:
- Inherited From:
Type:
outilSupObjMac :OutilSupObjMac
- Source:
- Inherited From:
Type:
outilSuppressionLiaison :OutilSuppressionLiaison
- Source:
- Inherited From:
Type:
outilSuppressionLiaisonAff :OutilSuppressionLiaisonAff
- Source:
- Inherited From:
Type:
outilSurface :OutilSurface
- Source:
- Inherited From:
Type:
outilSurface2Lieux :OutilSurface
- Source:
- Inherited From:
Type:
outilSurfaceLieu2Pts :OutilSurfaceLieu2Pts
- Source:
- Inherited From:
Type:
outilSurfaceLieuDroite :OutilSurfaceLieuDroite
- Source:
- Inherited From:
Type:
outilSymAxiale :OutilSymAxiale
- Source:
- Inherited From:
Type:
outilSymCentrale :OutilSymCentrale
- Source:
- Inherited From:
Type:
outilTailleMoins :OutilTailleMoins
- Source:
- Inherited From:
Type:
outilTaillePlus :OutilTaillePlus
- Source:
- Inherited From:
Type:
outilTangente :OutilTangente
- Source:
- Inherited From:
Type:
outilTestDepVar :OutilTestDepVar
- Source:
- Inherited From:
Type:
outilTestEq :OutilTestEq
- Source:
- Inherited From:
Type:
outilTestEqNatOp :OutilTestEqNatOp
- Source:
- Inherited From:
Type:
outilTestExistence :OutilTestExistence
- Source:
- Inherited From:
Type:
outilTestFact :OutilTestFact
- Source:
- Inherited From:
Type:
outilToggleToolsAdd :OutilToggleToolsAdd
- Source:
- Inherited From:
Type:
outilTrans :OutilTrans
- Source:
- Inherited From:
Type:
outilTranslationFigure :OutilTranslationFigure
- Source:
- Inherited From:
Type:
outilTransParCoord :OutilTransParCoord
- Source:
- Inherited From:
Type:
outilTriangleEq :OutilTriangleEq
- Source:
- Inherited From:
Type:
outilUnitexRep :OutilUnitexRep
- Source:
- Inherited From:
Type:
outilUniteyRep :OutilUniteyRep
- Source:
- Inherited From:
Type:
outilVariable :OutilVariable
- Source:
- Inherited From:
Type:
outilVect :OutilVect
- Source:
- Inherited From:
Type:
outilZoomMoins :OutilZoomMoins
- Source:
- Inherited From:
Type:
outilZoomPlus :OutilZoomPlus
- Source:
- Inherited From:
Type:
player :MtgAppLecteur
- Source:
- Inherited From:
Player éventuel
Type:
pointStylePanel :SVGGElement
- Source:
- Inherited From:
Panneau des styles de point
Type:
- SVGGElement
pref_Anim :InfoAnim
- Source:
- Inherited From:
Préférences d'animation
Type:
pref_coefMult :number
- Source:
- Inherited From:
coefficient multiplicateur pour la taille des images exportées
Type:
- number
pref_DispMeas :boolean
- Source:
- Inherited From:
Affiche les mesures si true
Type:
- boolean
pref_PointsAuto :boolean
- Source:
- Inherited From:
Si true des points sont créés automatiquement au clic avec certains outils (dys impose false)
Type:
- boolean
pref_StartFig :string
- Source:
- Inherited From:
Préférence du type de figure au démarrage (frameGrid|frameDotted|unity)
Type:
- string
pref_TaillePoliceNom :number
- Source:
- Inherited From:
Taille de la police des noms d'objets
Type:
- number
preview :boolean
- Source:
- Inherited From:
Mode aperçu dans Labomep
Type:
- boolean
rightPanel :SVGElement
- Source:
- Inherited From:
Panneau de droite avec les styles ?
Type:
- SVGElement
save :boolean
- Source:
- Inherited From:
Si true on affiche le bouton sauvegarder
Type:
- boolean
stopButton :StopButton
- Source:
- Inherited From:
Type:
stopPanel :SVGGElement
- Source:
- Inherited From:
Panneau du bouton stop
Type:
- SVGGElement
styleFleche :number
- Source:
- Inherited From:
Type:
- number
styleFlecheButtons :Array.<StyleFlecheButton>
- Source:
- Inherited From:
boutons de choix de style de flèche
Type:
- Array.<StyleFlecheButton>
styleFlechePanel :SVGGElement
- Source:
- Inherited From:
Bouton courant du style de flèche ?
Type:
- SVGGElement
styleMarqueAngle :number
- Source:
- Inherited From:
Type:
- number
styleMarqueSegment :number
- Source:
- Inherited From:
Type:
- number
stylePoint :number
- Source:
- Inherited From:
Style de point (cf MotifPoint)
Type:
- number
styleRemplissage :number
- Source:
- Inherited From:
Type:
- number
styleRemplissageButtons :Array.<StyleRemplissageButton>
- Source:
- Inherited From:
boutons de choix de type de remplissage
Type:
- Array.<StyleRemplissageButton>
styleRemplissagePanel :SVGGElement
- Source:
- Inherited From:
Bouton courant du type de remplissage ?
Type:
- SVGGElement
svg :SVGElement
- Source:
- Inherited From:
Le svg contenant mathgraph
Type:
- SVGElement
svgFigure :SVGElement
- Source:
- Inherited From:
svg de la figure
Type:
- SVGElement
svgPanel :SVGElement
- Source:
- Inherited From:
Panneau ?
Type:
- SVGElement
svgToolsAdd :SVGElement
- Source:
- Inherited From:
Pointe sur le svg contenant les icônes des outils supplémentaires. null quand les outils supplémentaires ne sont pas disponibles,
Type:
- SVGElement
thickness :number
- Source:
- Inherited From:
Largeur de trait
Type:
- number
thicknessSlider :Slider
- Source:
- Inherited From:
slider de choix d'épaisseur de trait
Type:
toolBar :SVGElement
- Source:
- Inherited From:
Barre d'outils
Type:
- SVGElement
zoomFactor :number
- Source:
- Inherited From:
Facteur de zoom (mtgOptions.zoomFactor ou 1 par défaut)
Type:
- number
Methods
abort()
- Source:
- Inherited From:
Annule la pile des actions en cours (affichages et chargements)
activateForCor()
- Source:
- Inherited From:
Fonction utilisée pour la correction des exerices de construction pour que le prof puisse capturer un point mobile et voir comment la figure a été faite par l'élève
activateTool(toolName)
- Source:
- Inherited From:
Appelée dans la version electron par les raccourcis clavier Active l'outil ainsi que son icône dans sa barre d'outils
Parameters:
Name | Type | Description |
---|---|---|
toolName |
string |
activateTraceMode(bActivate)
- Source:
- Mixes In:
activates or deactivates trace mode on the figure
syntax activates(true|false)
allowed
Parameters:
Name | Type | Description |
---|---|---|
bActivate |
boolean | true to activate trace mode, false to deactivate trace mode |
activeOutilCapt()
- Source:
- Inherited From:
Active l'outil capture (désactive l'outil actif avant)
activeOutilDem()
- Source:
- Inherited From:
Fonction sélectionnant l'outil actif au démarrage : L'outil d'exécution de macro si une macro est visible sinon l'outil de capture
activeOutilPrec()
- Source:
- Since:
- version 6.3.3
- Inherited From:
Active l'outil précédemment sélectionné
addAbsMeasure(options) → {CMesureAbscisse}
- Source:
- Mixes In:
Adds the measure of length measure of point b in (o, a) (the three points must be aligned)
syntax addAbsMeasure(b, o, a)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CMesureAbscisse
addAngleMark(options) → {Promise.<undefined>}
- Source:
- Mixes In:
Adds an angle mark
syntax allowed addAngleMark(o, a, b, r
, addAngleMark(o, a, b, r, color)
, addAngleMark(o, a, b, r, color, angleMarkStyle)
or addAngleMark(o, a, b, r, color, angleMarkStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<undefined>
addArcDirectOAB(options) → {Promise.<undefined>|CArcDeCercleDirect}
- Source:
- Mixes In:
Adds the direct circle arc of center o starting from point a and ending at the intersection point of ray [o;b) and the circle
syntax addArcDirectOAB(o, a, b)
, addArcDirectOAB(o, a, b, color)
, addArcDirectOAB(o, a, b, color, lineStyle)
or addArcDirectOAB(o, a, b, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created arc if isPromiseMode is false or promise that will be resolved when the arc is displayed
- Type
- Promise.<undefined> | CArcDeCercleDirect
addArcIndirectOAB(options) → {Promise.<undefined>|CArcDeCercleIndirect}
- Source:
- Mixes In:
Adds the indirect circle arc of center o starting from point a and ending at the intersection point of ray [o;b) and the circle
syntax addArcIndirectOAB(o, a, b)
, addArcIndirectOAB(o, a, b, color)
, addArcIndirectOAB(o, a, b, color, lineStyle)
or addArcIndirectOAB(o, a, b, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created arc if isPromiseMode is false or promise that will be resolved when the arc is displayed
- Type
- Promise.<undefined> | CArcDeCercleIndirect
addArcMajorOAB(options) → {Promise.<undefined>|CGrandArcDeCercle}
- Source:
- Mixes In:
Adds the major circle arc of center o starting from point a and ending at the intersection point of ray [o;b) and the circle
syntax addArcMajorOAB(o, a, b)
, addArcMajorOAB(o, a, b, color)
, addArcMajorOAB(o, a, b, color, lineStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created arc if isPromiseMode is false or promise that will be resolved when the arc is displayed
- Type
- Promise.<undefined> | CGrandArcDeCercle
addArcMajorOAx(options) → {Promise.<undefined>|CGrandArcDeCercle}
- Source:
- Mixes In:
Adds the major circle arc of center o starting from point a and angle x
syntax addArcMajorOAx(o, a, x)
, addArcMajorOAx(o, a, x, color)
, addArcMajorOAx(o, a, x, color, or
addArcMajorOAx(o, a, x, color, lineStyle, thickness)` allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created arc if isPromiseMode is false or promise that will be resolved when the arc is displayed
- Type
- Promise.<undefined> | CGrandArcDeCercle
addArcOAB(options) → {Promise.<undefined>|CArcDeCercle}
- Source:
- Mixes In:
Adds the minor circle arc of center o starting from point a and ending at the intersection point of ray [o;b) and the circle
syntax addArcOAB(o, a, b)
, addArcOAB(o, a, b, color)
, addArcOAB(o, a, b, color, lineStyle)
or addArcOAB(o, a, b, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created arc if isPromiseMode is false or promise that will be resolved when the arc is displayed
- Type
- Promise.<undefined> | CArcDeCercle
addArcOAx(options) → {Promise.<undefined>|CArcDeCercle}
- Source:
- Mixes In:
Adds the minor circle arc of center o, starting from a and angle x
syntax addArcOAx(o, a, x)
, addArcOAx(o, a, x, color)
, addArcOAx(o, a, x, color, ineStyle)
or addArcOAx(o, a, x, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created arc if isPromiseMode is false or promise that will be resolved when the arc is displayed
- Type
- Promise.<undefined> | CArcDeCercle
addBrokenLine(args) → {Promise.<undefined>|CLigneBrisee}
- Source:
- Mixes In:
Adds a broken line vertexes of which are given in the array points (array of the vertexes points names)
syntax addBrokenLine(points)
, addBrokenLine(points, color)
, addBrokenLine(points, color, lineStyle)
or addBrokenLine(points, color, lineStyle, thickness)
is allowed where points is an array of points or name of points
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object |
Properties
|
Returns:
the created polygon if isPromiseMode is false else promise that will be resolved when the object is displayed
- Type
- Promise.<undefined> | CLigneBrisee
addCalc(options) → {CCalcul}
- Source:
- Mixes In:
Adds a real calculation of name nameCalc from formula contained in string formula
syntax addCalc(nameCalc, formula)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CCalcul
addCalcComp(options) → {CCalculComplexe}
- Source:
- Mixes In:
Adds a complex calculation of name nameCalc from formula contained in string formula
syntax addCalcComp(nameCalc, formula)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CCalculComplexe
addCalcMat(options) → {CCalcul}
- Source:
- Mixes In:
Adds a matricial calculation of name nameCalc from formula contained in string formula
syntax addCalcMat(nameCalc, formula)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CCalcul
addCircleIm(options) → {Promise.<undefined>|CDroiteAB}
- Source:
- Mixes In:
adds the image of circle (or circle arc) c by transformation transf
syntax addCircleIm(c, transf)
, addCircleIm(c, transf, name)
, addCircleIm(c, transf, name, color)
, addCircleIm(c, transf, name, color, lineStyle)
or addCircleIm(c, transf, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteAB
addCircleOA(options) → {Promise.<undefined>|CCercleOA}
- Source:
- Mixes In:
Adds the circle of center o and going through a
syntax addCircleOA(o, a)
, addCircleOA(o, a, color)
, addCircleOA(o, a, color, lineStyle)
or addCircleOA(o, a, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created circle if isPromiseMode is false or promise that will be resolved when the circle is displayed
- Type
- Promise.<undefined> | CCercleOA
addCircleOr(options) → {Promise.<undefined>|CCercleOR}
- Source:
- Mixes In:
Adds the circle of center o and radius r
The figure must have a unity length
syntax addCircleOr(o, r)
, addCircleOr(o, r, color)
, addCircleOr(o, r, color, lineStyle)
or addCircleOr(o, r, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created circle if isPromiseMode is false or promise that will be resolved when the circle is displayed
- Type
- Promise.<undefined> | CCercleOR
addDerivative(options) → {CCalcul}
- Source:
- Mixes In:
Adds the derivative function of function calc (function name or function)
syntax addDerivative(calc, nameCalc)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CCalcul
addDilation(options) → {CHomothetie}
- Source:
- Mixes In:
adds the dilation of center o and ratio x
syntax addDilation(o, x)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CHomothetie
addDuplicatedObject(options) → {Promise.<undefined>|CObjetDuplique}
- Source:
- Mixes In:
Adds the duplicated object of object elt
syntax addDuplicatedObject(elt)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created object if isPromiseMode is false else promise that will be resolved when the duplicated object is displayed
- Type
- Promise.<undefined> | CObjetDuplique
addEltListener(options)
- Source:
- Mixes In:
Adds an event listener to a graphical object of the figure
The callBack function accepts three parameters (event, x, y) where x and y are the coordinates of the event relative to the svg containing the figure
syntax addEltListener(elt, eventName, callBack)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
addFreePoint(options) → {Promise.<undefined>|CPointBase}
- Source:
- Mixes In:
Add a free point
Syntax addFreePoint(x, y)
, addFreePoint(x, y, name)
, addFreePoint(x, y, name, color)
, addFreePoint(x, y, name, color, pointStyle)
or addFreePoint(x, y, name, color, pointStyle, rep)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false else promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointBase
addFunc(options) → {CCalcul}
- Source:
- Mixes In:
Adds a real fonction of variable x named nameCalc from formula contained in string formula
syntax addFunc(nameCalc, formula)
or addFunc(nameCalc, formula, varName)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CCalcul
addFuncComp(options) → {CCalcul}
- Source:
- Mixes In:
Adds a real fonction of variable z named nameCalc from formula contained in string formula
syntax addFuncComp(nameCalc, formula)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CCalcul
addFunctionToQueue(f)
- Source:
- Inherited From:
Fonction destinée à mettre une fonction sur la pile des appels. A utiliser de façon externe pour être sûr qu'une action soit faite après les affichages en cours
Parameters:
Name | Type | Description |
---|---|---|
f |
function |
addImPointDilation(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
Adds an image point of a through a dilation of center o and ratio x
syntax addImPointDilation(a, o, x)
, addImPointDilation(a, o, x, name)
, addImPointDilation(a, o, x, name, color)
, addImPointDilation(a, o, x, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addImPointRotation(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
Adds the image point of a through a rotation of center o and angle x
syntax addImPointRotation(a, o, x)
, addImPointRotation(a, o, x, name)
, addImPointRotation(a, o, x, name, color)
or addImPointRotation(a, o, x, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addImPointSymAx(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
Adds an image point of a through an axial symmetry of axis d
syntax addImPointSymAx(a, d)
, addImPointSymAx(a, d, name)
, addImPointSymAx(a, d, name, color)
or addImPointSymAx(a, d, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addImPointSymCent(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
Adds an image point of a through the central symmetry of center o
syntax addImPointSymCent(a, o)
, addImPointSymCent(a, o, name)
, addImPointSymCent(a, o, name, color)
or addImPointSymCent(a, o, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addImPointTranslation(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
Adds an image point of o through a translation of vector ab
syntax addImPointTranslation(o, a, b)
, addImPointTranslation(o, a, b, name)
, addImPointTranslation(o, a, b, name, color)
or addImPointTranslation(o, a, b, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addImPointTranslationxy(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
Adds an image point of a through a translation of vector with coordinates (x, y)
syntax addImPointTranslation(a, x, y)
, addImPointTranslation(a, x, y, name)
, addImPointTranslation(a, x, y, name, color)
or addImPointTranslation(a, x, y, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addIntCircleCircle(options) → {Promise.<undefined>|Array.<CPointLieBipoint, CPointLieBipoint>}
- Source:
- Mixes In:
Adds the intersection between two circles without re-creating an intersection point already created
syntax addIntCircleCircle(c, c2)
, addIntCircleCircle(c, c2, name)
, addIntCircleCircle(c, c2, name, name2)
, addIntCircleCircle(c, c2, name, name2, color)
or addIntCircleCircle(c, c2, name, name2, color, pointStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
[point1, point2] where point1 and point2 are the intersection points if isPromiseMode is false or promise that will be resolved when the intersection points are displayed. If one of the intersection point exists, point1 is the new created point
- Type
- Promise.<undefined> | Array.<CPointLieBipoint, CPointLieBipoint>
addIntLineCircle(options) → {Promise.<undefined>|Array.<CPointLieBipoint, CPointLieBipoint>}
- Source:
- Mixes In:
Adds the intersection between a line and a circle without re-creating an intersection point already created
syntax addIntLineCircle(d, c)
, addIntLineCircle(d, c, name)
, addIntLineCircle(d, c, name, name2)
, addIntLineCircle(d, c, name, name2, color)
or addIntLineCircle(d, c, name, name2, color, pointStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
[point1, point2] where point1 and point2 are the intersection points if isPromiseMode is false or promise that will be resolved when the intersection points are displayed. If one of the intersection point exists, point1 is the new created point
- Type
- Promise.<undefined> | Array.<CPointLieBipoint, CPointLieBipoint>
addIntLineLine(options) → {Promise.<undefined>|CIntDroiteDroite}
- Source:
- Mixes In:
Adds the intersection of 2 lines
syntax addIntLineLine(d, d2)
, addIntLineLine(d, d2, name)
, addIntLineLine(d, d2, name, color)
or addIntLineLine(d, d2, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the intersection point is displayed
- Type
- Promise.<undefined> | CIntDroiteDroite
addLatex(options) → {Promise.<undefined>}
- Source:
- Mixes In:
Adds a LaTeX diplay located at [x,y]
syntax addLatex(latex, x, y)
or addLatex(latex, x, y, color)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
Promise that will be resolved when the LaTeX is displayed
- Type
- Promise.<undefined>
addLengthMeasure(options) → {CLongueur}
- Source:
- Mixes In:
Adds the measure of length measure ab (distance between two points a and b)
For this, the figure must have a unity length
syntax addLengthMeasure(a, b)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CLongueur
addLineAB(options) → {Promise.<undefined>|CDroiteAB}
- Source:
- Mixes In:
Adds the line going through points a and b
syntax addLineAB(a, b)
, addLineAB(a, b, name)
, addLineAB(a, b, name, color)
, addLineAB(a, b, name, color, lineStyle)
or addLineAB(a, b, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteAB
addLineAx(options) → {Promise.<undefined>|CDroiteOm}
- Source:
- Mixes In:
Adds the line going through points a and with line slope x
syntax addLineAx(a, x)
, addLineAx(a, x, name)
, addLineAx(a, x, name, color)
, addLineAx(a, x, name, color, lineStyle)
or addLineAx(a, x, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteOm
addLineBisAOB(options) → {Promise.<undefined>|CDroiteAB}
- Source:
- Mixes In:
Adds the bisector line of angle a o b
syntax addLineBisAOB(a, o, b)
, addLineBisAOB(a, o, b, name)
, addLineBisAOB(a, o, b, name, color)
, addLineBisAOB(a, o, b, name, color, lineStyle)
or addLineBisAOB(a, o, b, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteAB
addLineIm(options) → {Promise.<undefined>|CDroiteAB}
- Source:
- Mixes In:
adds the image of line d by transformation transf
syntax addLineIm(d, transf)
, addLineIm(d, transf, name)
, addLineIm(d, transf, name, color)
, addLineIm(d, transf, name, color, lineStyle)
or addLineIm(d, transf, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteAB
addLineMedAB(options) → {Promise.<undefined>|CDroiteAB}
- Source:
- Mixes In:
Adds the mediator line of segment [a, b]
syntax addLineMedAB(a, b)
, addLineMedAB(a, b, name)
, addLineMedAB(a, b, name, color)
, addLineMedAB(a, b, name, color, lineStyle)
or addLineMedAB(a, b, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteAB
addLinePar(options) → {Promise.<undefined>|CDroiteParallele}
- Source:
- Mixes In:
Adds the parallel line to d going through a
syntax addLinePar(a, d)
, addLinePar(a, d, name)
, addLinePar(a, d, name, color)
, addLinePar(a, d, name, color, lineStyle)
and addLinePar(a, d, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or promise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteParallele
addLinePerp(options) → {Promise.<undefined>|CDroitePerpendiculaire}
- Source:
- Mixes In:
Adds the line perpendicular to d going through a
syntax addLinePerp(a, d)
, addLinePerp(a, d, name)
, addLinePerp(a, d, name, color)
, addLinePerp(a, d, name, color, lineStyle)
, addLinePerp(a, d, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or promise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroitePerpendiculaire
addLinkedLatex(options) → {Promise.<undefined>}
- Source:
- Mixes In:
Adds a LaTeX display linked to a point a
syntax addLinkedLatex(latex, a)
or addLinkedLatex(latex, a, color)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
Promise that will be resolved when the LaTeX is displayed
- Type
- Promise.<undefined>
addLinkedPointCircle(options) → {Promise.<undefined>|CPointLieCercle}
- Source:
- Mixes In:
Adds a point linked to a circle (or a circle arc)
syntax addLinkedPointCircle(c, x, y)
, addLinkedPointCircle(c, x, y, name)
, addLinkedPointCircle(c, x, y, name, color)
, addLinkedPointCircle(c, x, y, name, color, pointStyle)
or addLinkedPointCircle(c, x, y, name, color, pointStyle, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointLieCercle
addLinkedPointLine(options) → {Promise.<undefined>|CPointLieCercle}
- Source:
- Mixes In:
Adds a point linked to a line (or ray or segment)
syntax addLinkedPointLine(d, x, y)
, addLinkedPointLine(d, x, y, name)
, addLinkedPointLine(d, x, y, name, color)
, addLinkedPointLine(d, x, y, name, color, pointStyle)
or addLinkedPointLine(d, x, y, name, color, pointStyle, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointLieCercle
addLinkedPointLocus(options) → {Promise.<undefined>|CPointLieCercle}
- Source:
- Mixes In:
Adds a point linked to a line (or ray or segment)
syntax addLinkedPointLocus(elt, x, y)
, addLinkedPointLocus(elt, x, y, name)
, addLinkedPointLocus(elt, x, y, name, color)
, addLinkedPointLocus(elt, x, y, name, color, pointStyle)
or addLinkedPointLocus(elt, x, y, name, color, pointStyle, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointLieCercle
addLinkedText(options) → {Promise.<undefined>}
- Source:
- Mixes In:
Adds a text display linked to a point a
syntax addLinkedText(text, a)
or addLinkedText(text, a, color)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
Promise that will be resolved when the text is displayed
- Type
- Promise.<undefined>
addMatrix(options) → {CMatrice}
- Source:
- Mixes In:
adds a real matrix of name calc
syntax addMatrix(nameCalc, mat)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CMatrice
addMidpoint(options) → {Promise.<undefined>|CMilieu}
- Source:
- Mixes In:
Adds the midpoint of [a; b]
syntax addMidpoint(a, b)
, addMidpoint(a, b, name)
, addMidpoint(a, b, name, color)
or addMidpoint(a, b, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CMilieu
addObjectLocus(options, options) → {Promise.<undefined>|CLieuObjetParPtLie}
- Source:
- Mixes In:
Adds the oject locus of elt generated by the positions of linked point a
syntax addObjectLocus(elt, a, x)
or addObjectLocus(elt, a, x, color)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions | |||||||||||||||||||||
options |
Properties
|
Returns:
- Type
- Promise.<undefined> | CLieuObjetParPtLie
addPointIm(options) → {Promise.<undefined>|CPointImage}
- Source:
- Mixes In:
adds the image of point a by transformation transf
syntax addPointIm(a, transf)
, addPointIm(a, transf, name)
, addPointIm(a, transf, name, color)
or addPointIm(a, transf, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointImage
addPointLocus(options) → {Promise.<undefined>|CLieuDePoints}
- Source:
- Mixes In:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
tag |
string |
<optional> |
Tag to be associated to the object created |
Adds the point locus of point a generated by the positions of linked point b
syntax addPointLocus(a, b, x)
, addPointLocus(a, b, x, color)
, addPointLocus(a, b, x, color, lineStyle)
or addPointLocus(a, b, x, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created object locus if isPromiseMode is false else promise that will be resolved when the duplicated object is displayed
- Type
- Promise.<undefined> | CLieuDePoints
addPointXY(options) → {Promise.<undefined>|CPointDansRepere}
- Source:
- Mixes In:
Adds a point defined by (x; y) coordinates in a frame rep (system of axis). For a free point use addFreePoint and specify options.rep)
syntax addPointXY(x, y)
, addPointXY(x, y, name)
, addPointXY(x, y, name, color)
, addPointXY(x, y, name, color, pointStyle)
or addPointXY(x, y, name, color, pointStyle, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false else promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointDansRepere
addPointZ(options) → {Promise.<undefined>|CPointParAffixe}
- Source:
- Mixes In:
Adds a point defined by its complex affix in a frame rep (system of axis).
syntax addPointZ(z)
, addPointZ(z, name)
, addPointZ(z, name, color)
and addPointZ(z, name, color, pointStyle)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if mtgOptions.isPromiseMode is false else promise that will be resolved when the point is displayed
- Type
- Promise.<undefined> | CPointParAffixe
addPolygon(args) → {Promise.<undefined>|CPolygone}
- Source:
- Mixes In:
Adds a polygon vertexes of which are given in the array points (array of the vertexes points names)
syntax addPolygon(points)
, addPolygon(points, color)
, addPolygon(points, color, lineStyle)
or addPolygon(points, color, lineStyle, thickness)
is allowed where points is an array of points or name of points
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object |
Properties
|
Returns:
the created polygon if isPromiseMode is false else promise that will be resolved when the object is displayed
- Type
- Promise.<undefined> | CPolygone
addProtoFromByteArray(ba)
- Source:
- Inherited From:
Fonction ajoutant un prototype à la figure depuis un tavbeau d'entier ba
Parameters:
Name | Type | Description |
---|---|---|
ba |
Array.<number> |
addProtoFromFile(file)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
file |
Blob |
addProtoFromString(ch)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
ch |
string |
addRay(options) → {Promise.<undefined>|CDemiDroite}
- Source:
- Mixes In:
Adds the ray [o,a)
syntax addRay(o, a)
, addRay(o, a, color)
, addRay(o, a, color, lineStyle)
or addRay(o, a, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created ray if isPromiseMode is false or promise that will be resolved when the ray is displayed
- Type
- Promise.<undefined> | CDemiDroite
addRayIm(options) → {Promise.<undefined>|CDroiteAB}
- Source:
- Mixes In:
adds the image of ray d by transformation transf
syntax addRayIm(d, transf)
, addRayIm(d, transf, name)
, addRayIm(d, transf, name, color)
, addRayIm(d, transf, name, color, lineStyle)
or addRayIm(d, transf, name, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created line if isPromiseMode is false or romise that will be resolved when the line is displayed
- Type
- Promise.<undefined> | CDroiteAB
addRotation(options) → {CRotation}
- Source:
- Mixes In:
adds the rotation of center o and angle x
syntax addRotation(o, x)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CRotation
addSegment(options) → {Promise.<undefined>|CSegment}
- Source:
- Overrides:
- Mixes In:
Adds the segment of extremities a et b
syntax addSegment(a, b)
, addSegment(a, b, color)
, addSegment(a, b, color, lineStyle)
or addSegment(a, b, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created segment if isPromiseMode is false or promise that will be resolved when the segment is displayed
- Type
- Promise.<undefined> | CSegment
addSegmentMark(options) → {Promise.<undefined>}
- Source:
- Mixes In:
Add a segment mark
syntax addSegmentMark(elt, color)
, addSegmentMark(elt, color, segmentMarkStyle)
or addSegmentMark(elt, color, segmentMarkStyle, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false else promise that will be resolved when the mark is displayed
- Type
- Promise.<undefined>
addSimilitude(options) → {CSimilitude}
- Source:
- Mixes In:
adds the direct similitude of center o, angle x and ratio y
syntax addSimilitude(o, x, y)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CSimilitude
addSurface(options) → {Promise.<undefined>|CSurfacePolygone}
- Source:
- Mixes In:
Adds a surface delimited by a polygon, a circle or an arc of circle
syntax addSurface(edge)
, addSurface(edge, color)
or addSurface(edge, color, fillStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created surface if isPromiseMode is false else promise that will be resolved when the object is displayed
- Type
- Promise.<undefined> | CSurfacePolygone
addSurfaceCircle(options) → {Promise.<undefined>|CSurfaceDisque|CSurfaceSecteurCirculaire}
- Source:
- Mixes In:
Adds a surface delimited by a circle or a circle arc (slice of pie)
syntax addSurfaceCircle(c)
or addSurfaceCircle(c, color)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created surface if isPromiseMode is false else promise that will be resolved when the object is displayed
- Type
- Promise.<undefined> | CSurfaceDisque | CSurfaceSecteurCirculaire
addSurfacePoly(options) → {Promise.<undefined>|CSurfacePolygone}
- Source:
- Mixes In:
Adds a surface delimited by a polygon
syntax addSurfacePoly(poly)
or addSurfacePoly(poly, color)
allowed
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created surface if isPromiseMode is false else promise that will be resolved when the object is displayed
- Type
- Promise.<undefined> | CSurfacePolygone
addSvgListener(options)
- Source:
- Mixes In:
Adds a listener on the doc (svg) owning the figure
The callBack function accepts three parameters (event, x, y) where x and y are the coordinates of the event relative to the svg containing the figure
syntax addSvgListener(eventName, callBack)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
addSymAx(options) → {CSymetrieAxiale}
- Source:
- Mixes In:
adds the axial symmetry of center o
syntax addSymAx(d)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CSymetrieAxiale
addSymCent(options) → {CSymetrieCentrale}
- Source:
- Mixes In:
adds the central symmetry of center o
syntax addSymCent(o)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CSymetrieCentrale
addSystemOfAxis(options) → {Promise.<undefined>|CRepere}
- Source:
- Mixes In:
Adds a system of axis defined by points o, a and b (the origin will be o)
syntax addSystemOfAxis(o, a, b)
, addSystemOfAxis(o, a, b, color)
, addSystemOfAxis(o, a, b, color, lineStyle)
, addSystemOfAxis(o, a, b, color, lineStyle, verticalGrid)
, addSystemOfAxis(o, a, b, color, lineStyle, verticalGrid, horizontalGrid)
, addSystemOfAxis(o, a, b, , color, lineStyle, verticalGrid, horizontalGrid, hidden)
, allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created object if isPromiseMode is false else promise that will be resolved when the duplicated object is displayed
- Type
- Promise.<undefined> | CRepere
addTest(options) → {CTestExistence}
- Source:
- Mixes In:
Adds a existence test of a MathGraph32 dynamic real value x. This object will return 1 if x exists and 0 otherwise
syntax addTest(nameCalc, x)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CTestExistence
addTestComp(options) → {CTestExistence}
- Source:
- Mixes In:
Adds a existence test of a MathGraph32 dynamic real value x. This object will return 1 if x exists and 0 otherwise
syntax addTest(nameCalc, z)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CTestExistence
addText(options) → {Promise.<undefined>}
- Source:
- Mixes In:
Adds a text diplay located at [x,y]
syntax addText(text, x, y)
or addText(text, x, y, color)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
Promise that will be resolved when the text is displayed
- Type
- Promise.<undefined>
addTimerButton(options)
- Source:
- Mixes In:
adds to the top right corner of the figure two zoom buttons
syntax addTimerButton(callBack, k)
or addTimerButton(callBack, k, x, y)
allowed where k is the increase ratio (k > 1) and callBack the used function
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
addTranslation(options) → {CTranslation}
- Source:
- Mixes In:
adds the translation of vector a b
syntax addTranslation(a, b)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CTranslation
addTranslationxy(options) → {CTranslation}
- Source:
- Mixes In:
adds the translation of vector with coordinates (x, y)
syntax addTranslation(x, y)
or addTranslation(x, y, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- CTranslation
addVector(options) → {Promise.<undefined>|CVecteur}
- Source:
- Mixes In:
Adds vector ab
syntax addVector(a, b)
, addVector(a, b, color)
, addVector(a, b, color, lineStyle)
or addVector(a, b, color, lineStyle, thickness)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
The created point if isPromiseMode is false or promise that will be resolved when the vector is displayed
- Type
- Promise.<undefined> | CVecteur
addXMeasure(options) → {CMesureX}
- Source:
- Mixes In:
Adds the x-coordinate measure of point a in frame rep (system of coordinates)
syntax addXMeasure(a, nameCalc) or addXMeasure(a, nameCalc, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CMesureX
addYMeasure(options) → {CMesureY}
- Source:
- Mixes In:
Adds the y-coordinate measure of point a in frame rep (system of coordinates)
syntax addYMeasure(a, nameCalc) or addYMeasure(a, nameCalc, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CMesureY
addZMeasure(options) → {CMesureAffixe}
- Source:
- Mixes In:
Adds the affix measure of point a in frame rep (system of coordinates)
syntax addZMeasure(a, nameCalc)
or addZMeasure(a, nameCalc, rep)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the created measure
- Type
- CMesureAffixe
addZoomButtons(options)
- Source:
- Mixes In:
adds to the top right corner of the figure two zoom buttons
syntax addZoomButtons(k)
allowed where k is the increase ratio (k > 1)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
afficheObjetVisuels(inddeb)
- Source:
- Inherited From:
Fonction ajoutant les éléments graphiques de la liste d'objets visuels depuis l'indice inddeb
Parameters:
Name | Type | Description |
---|---|---|
inddeb |
number |
afficheTout(callbackopt)
- Source:
- Inherited From:
Utilisée en callback appelée lorsque MathJax a traité toutes les formules en LaTeX et que la figure est prête pour affichage.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
DisplayCallback |
<optional> |
Fonction de callback passée en paramètre à liste.afficheTout pour qu'elle soit appelée après toutes les opérations d'affichage |
ajouteElement(pt, bEditopt)
- Source:
- Inherited From:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
pt |
CPointBase | |||
bEdit |
boolean |
<optional> |
true
|
ajouteObjetVisuel(el)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
el |
CElementBase |
ajoutePoint(x, y) → {CPointBase}
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
x |
number | |
y |
number |
Returns:
- Type
- CPointBase
annuleTipsButtons()
- Source:
- Inherited From:
Fonction initialisant la variable tipDisplayed de tous les boutons à false;
arrayObjAConstruire() → {Array.<number>}
- Source:
- Inherited From:
Retourne la liste des index
Returns:
- Type
- Array.<number>
cacheTip(btn)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
btn |
Button |
calculate(brandomopt)
- Source:
- Inherited From:
Lance l'éventuelle macro de démarrage et positionne les éléments
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
brandom |
boolean |
<optional> |
false
|
Passer true pour que tous les calculs avec rand() sont recalculés (pour fournir de nouveaux résultats aléatoires). |
calculateAndDisplay(brandomopt, callbackopt) → {void}
- Source:
- Inherited From:
Recalcule la figure et l'affiche
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
brandom |
boolean |
<optional> |
false
|
Passer true pour que tous les calculs avec rand() sont recalculés (pour fournir de nouveaux résultats aléatoires). |
callback |
DisplayCallback |
<optional> |
Fonction de callback passée en paramètre à display pour qu'elle soit appelée après toutes les opérations d'affichage |
Returns:
- Type
- void
calculOKForConst(calc) → {boolean}
- Source:
- Inherited From:
Fonction appelée dans le cas d'un exercice de construction/ Renvoie true si calc fait partie des calcul que l'élève a le droit d'utiliser
Parameters:
Name | Type | Description |
---|---|---|
calc |
CCalculAncetre |
Returns:
- Type
- boolean
createCadre(width, height)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
width |
number | |
height |
number |
creeGrad(nomProto)
- Source:
- Inherited From:
Fonction rajoutant à la figure actuelle des graduations en utilisant la construction nommée nomProto
Parameters:
Name | Type | Description |
---|---|---|
nomProto |
string |
creeOutilsPointage()
- Source:
- Inherited From:
Fonction créant les outils de pointage
deleteAfter(options) → {Promise.<undefined>|void}
- Source:
- Mixes In:
Destroys all objets form elt, including display of the destroyed objects
syntax deleteAfter(elt)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<undefined> | void
deleteElt(options)
- Source:
- Mixes In:
Destroys the graphical object of tag elt (along with objects depending on it)
syntax deleteElt(elt)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
deleteObj(obj)
- Source:
- Mixes In:
destroys object obj alons with its dependant objects and their graphical implementation
syntax deleteObj(obj)
allowed
Parameters:
Name | Type | Description |
---|---|---|
obj |
the ojject to be destroyed (an object created via MathGraph32 API) |
detruitDependants(pt, bRemovegElementsopt)
- Source:
- Inherited From:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
pt |
CPt | |||
bRemovegElements |
boolean |
<optional> |
true
|
detruitDepProto(proto)
- Source:
- Inherited From:
Fonction détruisant les constructions itératives ou récursives de la figure dépendant du prototype prot
Parameters:
Name | Type | Description |
---|---|---|
proto |
CPrototype |
detruitDerniersElements(n)
- Source:
- Inherited From:
Fonction détruisant les n derniers éléments de la liste principale
Parameters:
Name | Type | Description |
---|---|---|
n |
number | Le nombre d'éléments à détruire |
detruitElement(el)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
el |
CElementBase |
display(callbackopt) → {Promise.<(boolean|undefined)>}
- Source:
- Inherited From:
Charge MathJax si nécessaire et lance l'affichage (en général il faut appeler calculate avant)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
DisplayCallback |
<optional> |
Fonction de callback passée en paramètre à afficheTout pour qu'elle soit appelée après toutes les opérations d'affichage (idem attendre que la promesse retournée soit résolue) |
Returns:
La promesse résolue quand afficheTout aura fini
- Type
- Promise.<(boolean|undefined)>
displayOnTop(options) → {Promise.<void>}
- Source:
- Mixes In:
Reclasses the graphic representation on elt at the top of the displayed elements
syntax displayOnTop(elt)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<void>
epsilon(pt)
- Source:
- Inherited From:
Fonction déplaçant un point libre ou un point lié un tout petit peude façon aléatoire
Parameters:
Name | Type | Description |
---|---|---|
pt |
CElementBase | Le point libre ou lié à déplacer |
existeDeja(el) → {boolean}
- Source:
- Inherited From:
Fonction renvoyant true si l'objet el a déjà été créé S'il s'agit d'un exercice de construction on autorise la création d'un objet déjà présent dans la figure au début de l'exercice.
Parameters:
Name | Type | Description |
---|---|---|
el |
CElementBase |
Returns:
- Type
- boolean
existeObjDte(nom1, nom2) → {boolean}
- Source:
- Inherited From:
Ne sert que pour les exercices de construction Fonction renvoyant true s'il a été construit un segment, une droite ou une demi droite auquel appatiennent les points construits nommés nom1 et nom2
Parameters:
Name | Type | Description |
---|---|---|
nom1 |
string | |
nom2 |
string |
Returns:
- Type
- boolean
existePolyEq(poly) → {boolean}
- Source:
- Inherited From:
Ne sert que pour les exercices de construction Fonction renvoyant true s'il a été constuit de segments joignant tous les sommets du polygone poly
Parameters:
Name | Type | Description |
---|---|---|
poly |
CPolygone |
Returns:
- Type
- boolean
fixPoint(options)
- Source:
- Mixes In:
Pins (fixes) point a so that this point is no longer movable with the mouse
syntax fixPoint(a)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
getBase64Code() → {string}
- Source:
- Overrides:
- Mixes In:
Returns the Base 64 code of the current figure For the player use setApiDoc if more than one figure is used
Returns:
- Type
- string
getBase64ImageData(imageType, callBack, coefMultopt, coefopt) → {void}
- Source:
- Inherited From:
Fonction appelée par la version electron pour obtenir le codeBase64 correspondant à la figure en PNG
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
imageType |
string | "png" ou "jpeg" |
|
callBack |
function | appelée avec le code64 de la figure |
|
coefMult |
number |
<optional> |
Le coefficient multiplicateur utilisé pour gagner (ou perdre) en définition |
coef |
number |
<optional> |
le coefficient d'agrandissement ou réduction utilisé pour l'exportation en PNG avec unité |
Returns:
- Type
- void
getByteArrayCode() → {Array.<number>}
- Source:
- Inherited From:
Fonction utilisée par electron et renvoyant un tableau d'entiers contenant le code binaire de la figure
Returns:
- Type
- Array.<number>
getCalcName() → {string}
- Source:
- Mixes In:
returns the nale of calculation, measure or function calc
syntax getCalcName(nameCalc)
allowed
Parameters:
Name | Type | Description |
---|---|---|
calc. |
Object | The object (not a string) the name is required from. |
Returns:
the name of the calculation, measure or function
- Type
- string
getCouleur() → {Color}
- Source:
- Inherited From:
Returns:
- Type
- Color
getDocFromString(ch) → {CMathGraphDoc|null}
- Source:
- Inherited From:
Fonction utilisée par la version electron quand on double-clique sur un fichier pour lancer le logiciel
Parameters:
Name | Type | Description |
---|---|---|
ch |
string | Contient une chaîne de caractères contenant un flux binaire représentant une figure |
Returns:
Renvoie null si le code n'est pas valide et sinon le CMathGraphDoc correspondant
- Type
- CMathGraphDoc | null
getEnonce() → {CElementBase|null}
- Source:
- Inherited From:
Fonction qui, si on a un exercice de construction, c'est-à dire une macro d'apparition d'initulé #Solution et si le commentaire de cette macro commence par #Enonce, ce qui signifie que la figure contient un énoncé qui doit être le dernier affichage de texte ou LaTeX de la figure initiale, renvoie un pointeur sur cet affichage LaTeX. Renvoie null s'il n'y en a pas. On s'arrangera pour que le g element de cet affichage soit toujours le dernier à chaque action sur la figure.
Returns:
- Type
- CElementBase | null
getExpandedBar() → {ExpandableBar|null}
- Source:
- Inherited From:
Returns:
- Type
- ExpandableBar | null
getFuncImage(options) → {number}
- Source:
- Mixes In:
Returns the image of number x through function calc
syntax getFuncImage(calc, x)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the iage of x through function calc
- Type
- number
getLatexCode(ind) → {string}
- Source:
- Inherited From:
Retourne le code LaTeX de l'affichage LaTex d'indice ind dans la liste des objets créés (les indices commençant à zéro) Utilisé par j3p pour certains exercices de construction
Parameters:
Name | Type | Description |
---|---|---|
ind |
number | string | Si number c'est l'indice de l'affichage LaTeX parmi tous les affichages LaTeX, si string ça doit être un "#" suivi du tag de l'objet du type CLatex (depuis version 6.6). |
Returns:
- Type
- string
getList() → {CListeObjets}
- Source:
- Inherited From:
Renvoie la liste CListeObjets contenant les objets du document.
Returns:
- Type
- CListeObjets
getMacroPourConst() → {CMacroApparition|null}
- Source:
- Inherited From:
Fonction cherchant s'il existe une macro d'apparition d'objets d'intitulé #Solution# ou #SolutionIso# et renvoyant un pointeur sur celle-ci si elle existe et sinon null. Dans le cas #SolutionIso#, la macro d'apparition doit avoir un seul objet qui soit un polygone
Returns:
- Type
- CMacroApparition | null
getMatValue(mat)
- Source:
- Mixes In:
syntax getValue(x)
allowed
Parameters:
Name | Type | Description |
---|---|---|
mat |
a MathGraph32 matrix object |
Returns:
getMissingNames() → {Array.<string>}
- Source:
- Inherited From:
Returns:
- Type
- Array.<string>
getMissingTypes() → {Array.<string>}
- Source:
- Inherited From:
Fonction utilisée dans les exercices de construction et renvoyant un tableau formé de chaînes de caractères correspondant aux types graphiques d'éléments qui auraient dû être créée et ne l'ont pas été. Renvoie une tableau vide s'il ne manque d'éléments.
Returns:
- Type
- Array.<string>
getNbObjConst() → {number}
- Source:
- Inherited From:
Fonction qui, pour un exercice de construction, renvoie le nombre d'objets qu'a créés l'élève.
Returns:
- Type
- number
getPointPosition(options) → {Point}
- Source:
- Mixes In:
returns (sync) the coordinates of point a in the frame rep (system of coordinates) if provided, otherwise in the svg coordinate system
syntax getPointPosition(a)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Point
getProtoByteArrayCode(ind) → {Array.<number>}
- Source:
- Inherited From:
Fonction utilisée pour la version electron et renvoyant un tableau d'entiers contenant le code binaire du prototype n° ind de la figure
Parameters:
Name | Type | Description |
---|---|---|
ind |
number |
Returns:
- Type
- Array.<number>
getStyleFleche() → {number}
- Source:
- Inherited From:
Returns:
- Type
- number
getStyleMarqueSegment() → {number}
- Source:
- Inherited From:
Returns:
- Type
- number
getStylePoint() → {number}
- Source:
- Inherited From:
Retourne le style du point (une des valeurs de MotifPoint)
Returns:
- Type
- number
getStyleRemplissage() → {number}
- Source:
- Inherited From:
Returns:
- Type
- number
getStyleTrait() → {StyleTrait}
- Source:
- Inherited From:
Returns:
- Type
- StyleTrait
getTaillePoliceNom() → {number}
- Source:
- Inherited From:
Returns:
- Type
- number
getThickness() → {number}
- Source:
- Inherited From:
Returns:
- Type
- number
getValue(options) → {number}
- Source:
- Mixes In:
returns the value of the real value x (calculation or measure or other real value of the figure)
syntax getValue(x)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- number
giveFormula2(nomCalcul, formule) → {void}
- Source:
- Inherited From:
Fonction changeant la formule du calcul ou de la fonction (réelle ou complexe) de nom nomCalcul. La nouvelle formule est contenue dans la chaîne de caractères formule. Renvoie true si la formule était valide et false sinon. Utilisé par j3p pour certains exercices de construction
Parameters:
Name | Type | Description |
---|---|---|
nomCalcul |
string | |
formule |
string |
Returns:
- Type
- void
giveFormulaTo(options) → {promise}
- Source:
- Mixes In:
give to the calculation (or function) of name nameCalc the formula formula
syntax giveFormulaTo(calc, formula)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
the promis executed once the objects dependant on the calculation are redisplayed
- Type
- promise
indication(ch, prechopt, bstraightopt) → {void}
- Source:
- Inherited From:
Lance l'affichage en haut et à droite d'un message d'indication correspondant à getStr(ch), pendant 6s Si le paramètre prech est présent, getStr(prech) est affiché devant getStr(ch) avec : entre les deux Utiliser app.ready() pour savoir quand l'indication est effectivement affichée
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ch |
string | |||
prech |
string |
<optional> |
''
|
|
bstraight |
boolean |
<optional> |
false
|
Si true on n'utilise pas getStr(ch) |
Returns:
- Type
- void
initAvecLongueurUnite(uniteAngle)
- Source:
- Inherited From:
Fonction préparant la liste principale pour que la figure possède un segment longueur unité
Parameters:
Name | Type | Description |
---|---|---|
uniteAngle |
KernelUniteAngle | L'unité d'angle de la figure |
initAvecRepereOrthogonal(uniteAngle, quadhor, quadver, grid, withvect, typegrad)
- Source:
- Inherited From:
Fonction préparant la liste principale pour que la figure possède un repère orthogonal avec graduations
Parameters:
Name | Type | Description |
---|---|---|
uniteAngle |
KernelUniteAngle | L'unité d'angle de la figure |
quadhor |
boolean | true si on veut que le repère soit quadrillé horizontalement |
quadver |
boolean | true si on veut que le repère soit quadrillé verticalement |
grid |
boolean | true si on veut que le repère est des pointilés aux points de coordonnées entières |
withvect |
boolean | si true, on rajoute des vecteurs sur les axes |
typegrad |
string | String valant "no" pour pas de graduations, "trig" pour une graduation spéciale trigo, "simple" |
initAvecRepereOrthonormal(uniteAngle, quadhor, quadver, grid, withvect, typegrad)
- Source:
- Inherited From:
Fonction préparant la liste principale pour que la figure possède un repère orthonormal avec graduations
Parameters:
Name | Type | Description |
---|---|---|
uniteAngle |
KernelUniteAngle | L'unité d'angle de la figure |
quadhor |
boolean | true si on veut que le repère soit quadrillé horizontalement |
quadver |
boolean | true si on veut que le repère soit quadrillé verticalement |
grid |
boolean | true si on veut que le repère est des pointilés aux points de coordonnées entières |
withvect |
boolean | si true, on rajoute des vecteurs sur les axes |
typegrad |
string | String valant "no" pour pas de graduations, "trig" pour une graduation spéciale trigo, "simple" |
initSansLongueurUnite(uniteAngle)
- Source:
- Inherited From:
Fonction préparant la liste principale pour que la figure ne possède pas un segment longueur unité
Parameters:
Name | Type | Description |
---|---|---|
uniteAngle |
KernelUniteAngle | L'unité d'angle de la figure |
insereElement(elAdd, index)
- Source:
- Inherited From:
Fonction insérant dans la liste des objets créés l'objet elAdd à l'indice index
Parameters:
Name | Type | Description |
---|---|---|
elAdd |
CElementBase | |
index |
number |
isExercise() → {boolean}
- Source:
- Inherited From:
Fonction renvoyant true si la figure chargée est une figure destinée à faire un exercice de construction. Pour cela la figure doit contenir une macro d'apparition d'objets d'intitulé #Solution#. Les objets que cette macro fait apparaître son alors considérés comme les objets que l'élève doit construire.
Returns:
- Type
- boolean
lastDlgId() → {string}
- Source:
- Inherited From:
Retourne l'id de la boite de dialogue courante (celle du dessus) (utile pour avertDialog, pour éviter de réafficher deux fois le même message d'erreur sur un double clic par ex)
Returns:
vide si y'a pas de boite de dialogue ouverte
- Type
- string
listePourConstruction() → {CListeObjets}
- Source:
- Inherited From:
Fonction appelée pour le cas d'un exercice de construction et renvoyant une liste formée de tous les objets (numériques ou non) que l'élève a le droit d'utiliser pour résoudre l'exercice. Pour un exercice de construction, il contient une macro d'apparition d'objets. Pour tous les calculs nommés (saut les constantes comme pi) si le commentaire de cette macro contient une chaine de caractères du type {nomducalcul} alors le calcul ou la fonction nommé nomducalcul peut être utilisée par l'élève
Returns:
- Type
- CListeObjets
loadDoc(id, base64) → {CMathGraphDoc}
- Source:
- Inherited From:
Fonction renvoyant un CmathGraphDoc d'id id et représenté par la chaîne Base64 base64
Parameters:
Name | Type | Description |
---|---|---|
id |
string | |
base64 |
string |
Returns:
- Type
- CMathGraphDoc
loadLevels()
- Source:
- Inherited From:
Fonction chargeant dans this.levels[] les 4 documents servant à filtrer les outils suivant le niveau d'utilisation demandé
natPourImages() → {Nat}
- Source:
- Inherited From:
Returns:
- Type
- Nat
objectConstructed() → {boolean}
- Source:
- Inherited From:
Fonctionrenvoyant, dans le cas d'un exercice, true si l'utilisateur a rajouté des objets à la figure initiale.
Returns:
- Type
- boolean
onDropFile(ev)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
ev |
BlobEvent |
pointParNom(nom) → {CElementBase|null}
- Source:
- Inherited From:
Fonction utilisée seulement pour les exercices de construction. Renvoie le point ayant pour nom nom sauf si ce point fait partie de la figure initiale et est masque. Renvoie null s'il n'y a pas de tel point. Normalement ne doit pas renvoyer null car n'est appelé que si tous les points ont été nommés comme demandé.
Parameters:
Name | Type | Description |
---|---|---|
nom |
string |
Returns:
- Type
- CElementBase | null
prepareTracesEtImageFond() → {void}
- Source:
- Inherited From:
Returns:
- Type
- void
ready(cbopt) → {Promise|undefined}
- Source:
- Inherited From:
Appellera cb quand tous les rendus seront terminés
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
cb |
function |
<optional> |
Si non fourni, ça retourne une promesse qui sera résolue quand l'appli est prête (tous les rendus lancés terminés) |
Returns:
- Type
- Promise | undefined
recalculate(bRandomopt)
- Source:
- Mixes In:
Recalculates the figure
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
bRandom |
boolean |
<optional> |
false
|
if true random calculations are reset |
reclassAfter(options) → {Promise.<unknown>}
- Source:
- Mixes In:
Reclasses object elt after object elt2 (if the reclassement is possible)
elt must be defined before elt2
syntax reclassAfter(elt, elt2)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<unknown>
reclassBefore(options) → {Promise.<unknown>}
- Source:
- Mixes In:
Reclasses object elt before object elt2 (if the reclassement is possible)
elt must be defined after elt2
syntax reclassBefore(elt, elt2)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<unknown>
reclassMax(options) → {Promise.<unknown>}
- Source:
- Mixes In:
Reclasses object of tag elt as far as possible towards the end of the list of created objects
syntax reclassMax(elt)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<unknown>
reclassMin(options) → {Promise.<unknown>}
- Source:
- Mixes In:
Reclasses object of tag elt as far as possible towards the beginning of the list of created objects
syntax reclassMin(elt)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
Returns:
- Type
- Promise.<unknown>
reCreateDisplay() → {Promise.<void>}
- Source:
- Inherited From:
Fonction appelée lors d'un reclassement d'objets. Elle détruit toutes les implémentations graphiques d'objets pour les reconstruire dans le nouvel ordre des objets.
Returns:
Promesse qui sera résolue quand l'affichage sera terminé
- Type
- Promise.<void>
releasePoint(options)
- Source:
- Mixes In:
Unpin a point that was pinned before (so the point can be captured with the mouse)
syntax releasePoint(a)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
removeEltListener(options)
- Source:
- Mixes In:
Removes an event listener from a graphical object of the figure
syntax removeEltListener(elt, eventName)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
removePaneVariables()
- Source:
- Inherited From:
Fonction retirant les éventuels petits div associés à des variables en bas et à droite de la figure
removePointLink(options)
- Source:
- Mixes In:
Withdraw the link of linked point a (thus a become a free point)
syntax removePointLink(a)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
removeSurfacePatterns()
- Source:
- Inherited From:
Fonction retirant toutes les définitions de quadrillages associés à des surfaces
removeSvgListener(options)
- Source:
- Mixes In:
Removes a listener from the doc (svg) owning the figure
syntax removeSvgListener(eventName)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
resetDoc()
- Source:
- Inherited From:
Fonction recréant un nouveau document
resetFromByteArray(ba, callBackOnOKopt, filePathopt)
- Source:
- Inherited From:
Reconstruit une figure à partir d'un flux binaire
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
ba |
Array.<number> | Tableau de bytes contenant le flux binaire de la figure |
||
callBackOnOK |
function |
<optional> |
null
|
Fonction éventelle de callBack à appeler après chargement de la figrue |
filePath |
string |
<optional> |
''
|
Le chemin éventuel d'accès à la figure si on ouvre depuis le disque |
resetFromFile(file, callBackOnOKopt)
- Source:
- Inherited From:
Fonction chargeant une figure depuis un objet File
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
file |
Blob | ||
callBackOnOK |
function |
<optional> |
Fonction de callBack à appeler si le chargement a réussi |
resetFromString(ch, callBackOnOKopt)
- Source:
- Inherited From:
Fonction chargeant une figure depuis une chaîne de caractères (en utf-8) Cette fonction est utilisée par la version electron
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
ch |
string | La chaîne de caractères contenant le code de la figure (chaque caractère a le code Ascii permettant de créer un ByteArray représentant le flux binaire de la figure. |
|
callBackOnOK |
function |
<optional> |
callback rappelée si ok |
resize(w, h) → {void}
- Source:
- Inherited From:
Lance le resize de l'éditeur (utiliser app.ready() pour savoir quand ce sera terminé)
Parameters:
Name | Type | Description |
---|---|---|
w |
number | |
h |
number |
Returns:
- Type
- void
retireTout() → {void}
- Source:
- Inherited From:
Fonction retirant tous les éléments graphiques du svg de la figure.
Returns:
- Type
- void
selectButton(style, tabButtons)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
style |
||
tabButtons |
Array.<Button> |
selectColor(color)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
color |
Color |
selectFillStyle(style)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
style |
number | cf les valeurs de StyleRemplissage |
selectLineStyle(style)
- Source:
- Inherited From:
Fonction sélectionnant dans la palette de style de trait le style style
Parameters:
Name | Type | Description |
---|---|---|
style |
StyleTrait |
selectThickness(val)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
val |
number |
selectTool(toolName)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
toolName |
string |
setActive(ba) → {void}
- Source:
- Inherited From:
Rend la figure éactive ou inative aux événements souris et clavier suivant la valeur du boolean ba.
Parameters:
Name | Type | Description |
---|---|---|
ba |
boolean |
Returns:
- Type
- void
setApiDoc(idDocopt) → {void}
- Source:
- Mixes In:
Change the current figure (the figure the following api methods will apply on), only for the MtgAppLecteurApi
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
idDoc |
string |
<optional> |
If idDoc is not given, the first doc is taken |
Returns:
- Type
- void
setBackgroundColor(options, options)
- Source:
- Mixes In:
Assigns a background color to a text or LaTeX display
syntax setBackgroundColor(elt, backgroundColor)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
|||||||||
options |
setColor(options)
- Source:
- Mixes In:
Assigns a color to an object
syntax setColor(elt, color)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setDesignation(x, y, ch)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
x |
number | |
y |
number | |
ch |
string |
setFig(optionsopt) → {Promise.<void>}
- Source:
- Mixes In:
Load a new figure (empty if not provided)
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Properties
|
Returns:
Promise that will be resolved when the new figure is displayed
- Type
- Promise.<void>
setFigByCode(code, bdisplayopt, callBackopt) → {Promise.<void>|void}
- Source:
- Inherited From:
Fonction remplaçant la figure actuelle par la figure dont le code Base64 est code
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
code |
string | Le code Base64 de la nouvelle figure |
||
bdisplay |
boolean |
<optional> |
true
|
Passer false pour ne pas afficher la figure (et être sync, sinon on appelle la callback ou retourne une promesse) |
callBack |
DisplayCallback |
<optional> |
éventuelle fonction de callBack à appeler une fois la figure affichée |
Returns:
Une promesse si bdisplay sans callback
- Type
- Promise.<void> | void
setFreePointPosition(options)
- Source:
- Mixes In:
Gives to the free point named a the coordinates x, y
syntax setFreePointPosition(a, x, y)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setHidden(options)
- Source:
- Mixes In:
Set the object of tag elt masked (if not already masked)
syntax setHidden(elt)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setImageFond(file, callBackOnOKopt)
- Source:
- Inherited From:
Fonction donnant à this.doc une image de fond contenu dans file et appelant callBackOK en cas de succès
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
file |
Blob | |||
callBackOnOK |
function |
<optional> |
null
|
setLineStyle(options)
- Source:
- Mixes In:
Assigns a line style to an object
syntax setLineStyle(elt, lineStyle)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setLinkPointPoint(options)
- Source:
- Mixes In:
Replaces a free point by a point linked to another existing point
syntax setLinkPointPoint(a, b)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setMarked(options)
- Source:
- Mixes In:
once executed, point a will leave a trace of its positions (if trace mode is acivated)
syntax setMarked(a)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setOpacity(val)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
val |
number | un nombre entre 1 et 100 |
setPointNameOffset(options)
- Source:
- Mixes In:
modify the name position of point a (the default position is under the point, the right and under the point
syntax setPointNameOffset(a, offsetX, offsetY)
allowed
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setPointStyle(options)
- Source:
- Mixes In:
gives to point a the point style point style
syntax setPointStyle(a, pointStyle)
allowed
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setThickness(options)
- Source:
- Overrides:
- Mixes In:
Assigns a stroke thickness to an object
syntax setThickness(elt, thickness)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setTip(src)
- Source:
- Inherited From:
Fonction mettant dans this.commentaireTip le texte contenu dans src.tip src peut être un bouton de la barre de gauche, du haut ou un composant de la barre d'outils de droite Pour les composants de la barre d'outil de droite ils doivent posséder un this.y qui indique la ligne d'affichage du tip.
Parameters:
Name | Type | Description |
---|---|---|
src |
Button |
setUnity(options)
- Source:
- Mixes In:
Adds a unity length to the figure (throws an error if a unity length is already present in the figure)
Once a unity length is present in the figure, you can create length measures, circles by radius
syntax setUnity(a, b)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
setVisible(options)
- Source:
- Mixes In:
Set the object of tag elt visible (if not already visible)
syntax setVisible(elt)
allowed
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
showStopButton(bVisible)
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
bVisible |
boolean |
termineMacroEnCours()
- Source:
- Since:
- version 6.4
- Inherited From:
Désactive une éventuelle macro en cours d'exécution
translateFig(options)
- Source:
- Mixes In:
Translates all the figure with a vector of coordinates (x; y)
syntax translateFig(x, y)
allowed
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|
updateDependantDisplay(obj)
- Source:
- Mixes In:
Re-displays the figure elements depending on elt
syntax updateDependantDisplay(elt)
allowed
Parameters:
Name | Type | Description |
---|---|---|
obj |
CElementBase |
updateFigDisplay()
- Source:
- Mixes In:
Re-displays the elements of the figure.
updateOpacitySlider()
- Source:
- Inherited From:
Fonction mettant à jour le curseur d'opacité
updateToolbar()
- Source:
- Inherited From:
Fonction enlevant toutes les icones de la barre d'outil supérieure et les remplaçant par des icônes adaptées au niveau d'utilisation en cours
updateToolbarForCor()
- Source:
- Inherited From:
Fonction utilisée pour les corrections d'exercices de construction sous j3P et n'ajoutant que l'outil de protocole dans la barre d'outils horizontale.
validateAnswer() → {boolean}
- Source:
- Inherited From:
Returns:
- Type
- boolean
validateAnswerIso() → {boolean}
- Source:
- Inherited From:
Returns:
- Type
- boolean
validateAnswerOnePass(list) → {boolean}
- Source:
- Inherited From:
Parameters:
Name | Type | Description |
---|---|---|
list |
CListeObjets |
Returns:
- Type
- boolean
valueOf(nomCalcul, bNoCase) → {number}
- Source:
- Inherited From:
Renvoie la valeur actuelle du calcul réel nommé nomCalcul dans la figure. Renvoie -1 si le calcul n'existe pas.
Parameters:
Name | Type | Description |
---|---|---|
nomCalcul |
string | |
bNoCase |
boolean | true si la recherche se fait sans tenir compte de la casse majuscule ou minuscule |
Returns:
- Type
- number
verifieDernierElement(nbObjetsAjoutes) → {boolean}
- Source:
- Inherited From:
Fonction vérifiant si le dernier élément de la liste est confondu avec un objet déjà créé sachant que si c'est le cas il faut retirer les nbOjetsAjoutes derniers objets de la liste. Si on ne trouve pas d'élément confondu, les nbObjetsAjoutes derniers objets sont positioonés
Parameters:
Name | Type | Description |
---|---|---|
nbObjetsAjoutes |
number |
Returns:
- Type
- boolean
zoomFig(options)
- Source:
- Mixes In:
Modifies the framing of the figure (by zooming from a point with a given ratio)
syntax zoom(x, y, k)
allowed
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ApiOptions |
Properties
|