Class: RingMorph

RingMorph

new RingMorph ()

Extends

Methods

activeProcess ()? inherited

Returns:
Type Description
?

add (aMorph) inherited

Name Type Description
aMorph Morph

addBack (aMorph) inherited

Name Type Description
aMorph Morph

addChild (aNode) inherited

Name Type Description
aNode Node

addChildFirst (aNode) inherited

Name Type Description
aNode Node

addErrorHighlight ()BlockHighlightMorph inherited

Returns:
Type Description
BlockHighlightMorph

addHighlight (oldHighlight)BlockHighlightMorph inherited

Name Type Description
oldHighlight BlockHighlightMorph
Returns:
Type Description
BlockHighlightMorph

addShadow (off, a, color)ShadowMorph inherited

Name Type Description
off Point optional
a number optional
color Color optional
Returns:
Type Description
ShadowMorph

allChildren ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

allComments ()Array.<CommentMorph> inherited

Returns:
Type Description
Array.<CommentMorph>

allEmptySlots ()Array.<?> inherited

Returns:
Type Description
Array.<?>

allEntryFields ()Array.<Morph> inherited

Returns:
Type Description
Array.<Morph>

allInputs ()Array.<ArgMorph> | Array.<ReporterBlockMorph> inherited

Returns:
Type Description
Array.<ArgMorph> | Array.<ReporterBlockMorph>

allLeafs ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

allParents ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

alternateBlockColor () inherited

anyChild (aPredicate)boolean inherited

Name Type Description
aPredicate function
Returns:
Type Description
boolean

attach () inherited

backTab (editField) inherited

Name Type Description
editField Morph

blockSequence ()ReporterBlockMorph inherited

Returns:
Type Description
ReporterBlockMorph

bottom ()number inherited

Returns:
Type Description
number

bottomCenter ()Point inherited

Returns:
Type Description
Point

bottomLeft ()Point inherited

Returns:
Type Description
Point

bottomRight ()Point inherited

Returns:
Type Description
Point

boundingBox ()Point inherited

Returns:
Type Description
Point

bright ()String inherited

Returns:
Type Description
String

buildSpec () inherited

center ()Point inherited

Returns:
Type Description
Point

changed () inherited

childChanged () inherited

codeDefinitionHeader ()HatBlockMorph inherited

Returns:
Type Description
HatBlockMorph

codeMappingHeader ()HatBlockMorph inherited

Returns:
Type Description
HatBlockMorph

colorSetters ()Array.<String> inherited

Returns:
Type Description
Array.<String>

contents ()?

Returns:
Type Description
?

contextMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

copy ()Morph inherited

Returns:
Type Description
Morph

copyRecordingReferences (map)Morph inherited

Name Type Description
map Map
Returns:
Type Description
Morph

corners ()Array.<Point> inherited

Returns:
Type Description
Array.<Point>

dark ()String inherited

Returns:
Type Description
String

dataType ()String

Returns:
Type Description
String

debugCachedInputs () inherited

definesScriptVariable (name)boolean inherited

Name Type Description
name String
Returns:
Type Description
boolean

deleteBlock () inherited

depth ()number inherited

Returns:
Type Description
number

destroy () inherited

determineSlotSpec ()String inherited

Returns:
Type Description
String

developersMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

doRefactorBlockParameter (oldName, newName, justTheTemplate) inherited

Name Type Description
oldName String
newName String
justTheTemplate boolean

doRefactorGlobalVar (oldName, newName, justTheTemplate) inherited

Name Type Description
oldName String
newName String
justTheTemplate boolean

doRefactorRingParameter (oldName, newName, justTheTemplate) inherited

Name Type Description
oldName String
newName String
justTheTemplate boolean

doRefactorScriptVar (oldName, newName, justTheTemplate) inherited

Name Type Description
oldName String
newName String
justTheTemplate boolean

doRefactorSpriteVar (oldName, newName, justTheTemplate) inherited

Name Type Description
oldName String
newName String
justTheTemplate boolean

drawCachedTexture () inherited

drawDiamond (context) inherited

Name Type Description
context CanvasRenderingContext2D

drawMethodIcon (canvas) inherited

Name Type Description
canvas CanvasRenderingContext2D

drawNew () inherited

drawOn (aCanvas, aRect) inherited

Name Type Description
aCanvas HTMLCanvasElement
aRect Rectangle optional

drawRounded (context) inherited

Name Type Description
context CanvasRenderingContext2D

drawTexture (url) inherited

Name Type Description
url String

droppedAudio (anAudio, name) inherited

Name Type Description
anAudio Audio
name String

droppedBinary (anArrayBuffer, name) inherited

Name Type Description
anArrayBuffer Array
name String

droppedImage (aCanvas, name) inherited

Name Type Description
aCanvas HTMLCanvasElement
name String

droppedSVG (anImage, name) inherited

Name Type Description
anImage Image
name String

droppedText (aString, name) inherited

Name Type Description
aString String
name String

embed (aBlock, inputNames)

Name Type Default Description
aBlock SyntaxElementMorph
inputNames Array.<String> [] optional

endLayout () inherited

eraseHoles (context) inherited

Name Type Description
context CanvasRenderingContext2D

escalateEvent (functionName, arg) inherited

Name Type Description
functionName String
arg *

evaluate ()* inherited

Returns:
Type Description
*

evaluateString (code)* inherited

Name Type Description
code String
Returns:
Type Description
*

exportPictureWithResult (aBubble) inherited

Name Type Description
aBubble ?

exportResultPic () inherited

extent ()Point inherited

Returns:
Type Description
Point

fadeTo (endAlpha, msecs, easing, onComplete) inherited

Name Type Description
endAlpha number
msecs number optional
easing String | function optional
onComplete function optional

fixBlockColor (nearestBlock, isForced) inherited overrides

Name Type Default Description
nearestBlock BlockMorph
isForced boolean false optional

fixChildrensBlockColor (isForced) inherited

Name Type Default Description
isForced boolean false optional

fixHighlight () inherited

fixLabelColor () inherited

fixLayout (silently) inherited

Name Type Default Description
silently boolean false optional

flash () inherited

focus () inherited

forAllChildren (aFunction) inherited

Name Type Description
aFunction function

forceNormalColoring (silently) inherited

Name Type Description
silently boolean

fullBounds ()Rectangle inherited

Returns:
Type Description
Rectangle

fullBoundsNoShadow ()Rectangle inherited

Returns:
Type Description
Rectangle

fullChanged () inherited

fullCopy ()Morph inherited

Returns:
Type Description
Morph

fullDrawOn (aCanvas, aRect) inherited

Name Type Description
aCanvas HTMLCanvasElement
aRect Rectangle optional

fullImage ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement

fullImageClassic ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement
Returns:
Type Description
BlockHighlightMorph

getPixelColor (aPoint)Color inherited

Name Type Description
aPoint Point
Returns:
Type Description
Color

getShadow ()ShadowMorph inherited

Returns:
Type Description
ShadowMorph

getSlotSpec ()String inherited

Returns:
Type Description
String

getVarNamesDict ()Object inherited

Returns:
Type Description
Object

ghost () inherited

glideTo (endPoint, msecs, easing, onComplete) inherited

Name Type Description
endPoint Point
msecs number optional
easing String | function optional
onComplete function optional

hasBlockVars ()boolean inherited

Returns:
Type Description
boolean

hasLabels ()boolean inherited

Returns:
Type Description
boolean

hasLocationPin ()boolean inherited

Returns:
Type Description
boolean

height ()number inherited

Returns:
Type Description
number

hide () inherited

hidePrimitive () inherited

hierarchyMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

highlight (color, blur, border)BlockHighlightMorph inherited

Name Type Description
color Color
blur number
border number
Returns:
Type Description
BlockHighlightMorph

highlightImage (color, border)HTMLCanvasElement inherited

Name Type Description
color Color
border number
Returns:
Type Description
HTMLCanvasElement

highlightImageBlurred (color, blur)HTMLCanvasElement inherited

Name Type Description
color Color
blur number
Returns:
Type Description
HTMLCanvasElement

hint (msg) inherited

Name Type Default Description
msg String 'NULL' optional

inform (msg) inherited

Name Type Default Description
msg String 'NULL' optional

init (isPredicate, silently) inherited overrides

Name Type Default Description
isPredicate boolean false optional
silently boolean false optional

inputNames ()*

Returns:
Type Description
*

inputs ()Array.<SyntaxElementMorph> inherited

Returns:
Type Description
Array.<SyntaxElementMorph>

inspect (anotherObject) inherited

Name Type Description
anotherObject *

isCorrectingOutsideDrag ()boolean inherited

Returns:
Type Description
boolean

isEmptySlot ()boolean inherited

Returns:
Type Description
boolean

isInheritedVariable (shadowedOnly)boolean inherited

Name Type Description
shadowedOnly boolean
Returns:
Type Description
boolean

isLocked ()boolean inherited

Returns:
Type Description
boolean

isObjInputFragment ()boolean inherited

Returns:
Type Description
boolean

isPickedUp ()boolean inherited

Returns:
Type Description
boolean

isTouching (otherMorph)boolean inherited

Name Type Description
otherMorph Morph
Returns:
Type Description
boolean

isTransientVariable ()boolean inherited

Returns:
Type Description
boolean

isTransparentAt (aPoint)boolean inherited

Name Type Description
aPoint Point
Returns:
Type Description
boolean

isUnevaluated ()boolean inherited

Returns:
Type Description
boolean

justDropped (handMorph) inherited

Name Type Description
handMorph HandMorph

keepWithin (aMorph) inherited

Name Type Description
aMorph Morph

labelPart (spec)ArgMorph | Morph inherited

Name Type Description
spec String
Returns:
Type Description
ArgMorph | Morph

left ()number inherited

Returns:
Type Description
number

leftCenter ()Point inherited

Returns:
Type Description
Point

mapCode (aString, key) inherited

Name Type Description
aString String optional
key String optional

mapHeader (aString, key) inherited

Name Type Description
aString String optional
key String optional

mappedCode (definitions) inherited

Name Type Description
definitions ?

mapToCode () inherited

mapToHeader () inherited

methodIconExtent ()Point inherited

Returns:
Type Description
Point

mouseClickLeft (pos) inherited

Name Type Description
pos Point

mouseClickRight (pos) inherited

Name Type Description
pos Point

mouseDoubleClick (pos) inherited

Name Type Description
pos Point

mouseDownLeft (pos) inherited

Name Type Description
pos Point

mouseDownRight (pos) inherited

Name Type Description
pos Point

mouseEnter (pos) inherited

Name Type Description
pos Point

mouseEnterDragging (pos) inherited

Name Type Description
pos Point

mouseLeave (pos) inherited

Name Type Description
pos Point

mouseLeaveDragging (pos) inherited

Name Type Description
pos Point

mouseMove (pos, button) inherited

Name Type Description
pos Point
button String

mouseScroll (pos) inherited

Name Type Description
pos Point

move () inherited

moveBy (delta) inherited

Name Type Description
delta number | Point

moveCenter () inherited

nextEntryField (current)Morph inherited

Name Type Description
current number
Returns:
Type Description
Morph

nextSteps (arrayOfFunctions) inherited

Name Type Description
arrayOfFunctions Array.<function()>

nextTab (editField) inherited

Name Type Description
editField Morph

numericalSetters ()Array.<String> inherited

Returns:
Type Description
Array.<String>

outline (color, border)BlockHighlightMorph inherited

Name Type Description
color Color
border nubmer
Returns:
Type Description
BlockHighlightMorph

overlappedMorphs ()Array.<Morph> inherited

Returns:
Type Description
Array.<Morph>

overlappingImage (otherMorph)HTMLCanvasElement inherited

Name Type Description
otherMorph Morph
Returns:
Type Description
HTMLCanvasElement

parentThatIsA (constructor)Node inherited

Name Type Description
constructor function
Returns:
Type Description
Node

parentThatIsAnyOf (constructors)Node inherited

Name Type Description
constructors Array.<function()>
Returns:
Type Description
Node

parseSpec (spec)Array.<String> inherited

Name Type Description
spec String
Returns:
Type Description
Array.<String>

parts ()Array.<Morph> inherited

Returns:
Type Description
Array.<Morph>

penTrails ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement

perish (msecs, onComplete) inherited

Name Type Description
msecs number optional
onComplete function optional

pickColor (msg, callback, environment, defaultContents) inherited

Name Type Default Description
msg String '' optional
callback function optional
environment String optional
defaultContents String '' optional

pickUp (wrrld) inherited

Name Type Description
wrrld WorldMorph optional

position ()Point inherited

Returns:
Type Description
Point

prepareToBeGrabbed (handMorph) inherited

Name Type Description
handMorph HandMorph

previousEntryField (current)Morph inherited

Name Type Description
current number
Returns:
Type Description
Morph

previousTab (editField) inherited

Name Type Description
editField Morph

processKeyDown (event) inherited

Name Type Description
event KeyboardEvent

processKeyPress (event) inherited

Name Type Description
event KeyboardEvent

processKeyUp (event) inherited

Name Type Description
event KeyboardEvent

prompt (msg, callback, environment, defaultContents, width, floorNum, ceilingNum, isRounded) inherited

Name Type Default Description
msg String '' optional
callback function optional
environment String optional
defaultContents String '' optional
width number 100 optional
floorNum number optional
ceilingNum number optional
isRounded boolean false optional

reactToChoice (arg) inherited

Name Type Description
arg *

reactToDropOf (aMorph, handMorph) inherited

Name Type Description
aMorph Morph
handMorph HandMorph

reactToGrabOf (grabbedMorph) inherited

Name Type Description
grabbedMorph Morph

reactToKeystroke (event) inherited

Name Type Description
event KeyboardEvent

reactToTemplateCopy () inherited

rebuild (contrast) inherited

Name Type Description
contrast number optional

refactorThisVar (justTheTemplate) inherited

Name Type Description
justTheTemplate boolean

refactorVarInStack (oldName, newName, isScriptVar) inherited

Name Type Description
oldName String
newName String
isScriptVar boolean

relabel (alternativeSelectors) inherited

Name Type Description
alternativeSelectors Array.<String>

removeChild (aNode) inherited

Name Type Description
aNode Node

removeHighlight ()BlockHighlightMorph inherited

Returns:
Type Description
BlockHighlightMorph

removeShadow () inherited

replaceInput (oldArg, newArg) inherited

Name Type Description
oldArg ?
newArg ?

resize () inherited

restoreInputs (oldInputs) inherited

Name Type Description
oldInputs Array

revertToDefaultInput (arg, noValues) inherited

Name Type Default Description
arg ?
noValues boolean false optional
Returns:
Type Description
number

rightCenter ()Point inherited

Returns:
Type Description
Point

ringify () inherited

root ()Node inherited

Returns:
Type Description
Node

rootForGrab ()Morph inherited overrides

Returns:
Type Description
Morph

scriptPic ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement

scriptTarget ()? inherited

Returns:
Type Description
?

scrollIntoView () inherited

selectForEdit ()Morph inherited

Returns:
Type Description
Morph

setAlphaScaled (alpha) inherited

Name Type Description
alpha number

setBottom (y) inherited

Name Type Description
y number

setCategory (aString) inherited

Name Type Description
aString String

setCenter (aPoint) inherited

Name Type Description
aPoint Point

setColor (aColor) inherited

Name Type Description
aColor Color

setExtent (aPoint, silently) inherited

Name Type Default Description
aPoint Point
silently boolean false optional

setFullCenter (aPoint) inherited

Name Type Description
aPoint Point

setHeight (height) inherited

Name Type Description
height number

setLabelColor (textColor, shadowColor, shadowOffset) inherited

Name Type Description
textColor Color
shadowColor Color
shadowOffset number

setLeft (x) inherited

Name Type Description
x number

setPosition (aPoint) inherited

Name Type Description
aPoint Point

setRight (x) inherited

Name Type Description
x number

setScale (num) inherited

Name Type Description
num number

setSelector (aSelector) inherited

Name Type Description
aSelector String

setSpec (spec, silently, definition) inherited

Name Type Default Description
spec String
silently boolean false optional
definition ? optional

setTop (y) inherited

Name Type Description
y number

setWidth (width) inherited

Name Type Description
width number

shadow (off, a, color)ShadowMorph inherited

Name Type Description
off Point optional
a number optional
color Color optional
Returns:
Type Description
ShadowMorph

shadowImage (off, color)HTMLCanvasElement inherited

Name Type Description
off Point optional
color Color optional
Returns:
Type Description
HTMLCanvasElement

shadowImageBlurred (off, color)HTMLCanvasElement inherited

Name Type Description
off Point optional
color Color optional
Returns:
Type Description
HTMLCanvasElement

show () inherited

showBubble (value, exportPic, target) inherited

Name Type Default Description
value ?
exportPic boolean false optional
target ?

showHelp () inherited

siblings ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

silentMoveBy (delta) inherited

Name Type Description
delta number | Point

silentReplaceInput (oldArg, newArg) inherited

Name Type Description
oldArg ?
newArg ?

silentSetExtent (aPoint) inherited

Name Type Description
aPoint Point

silentSetHeight (height) inherited

Name Type Description
height number

silentSetPosition (aPoint) inherited

Name Type Description
aPoint Point

silentSetWidth (width) inherited

Name Type Description
width number

situation ()Object inherited

Returns:
Type Description
Object

slideBackTo (situation, msecs, onBeforeDrop, onComplete) inherited

Name Type Description
situation Object
msecs number optional
onBeforeDrop function optional
onComplete function optional

snap () inherited

stackFullBounds ()Rectangle inherited

Returns:
Type Description
Rectangle

stackHeight ()number inherited

Returns:
Type Description
number

stackWidth ()number inherited

Returns:
Type Description
number

startLayout () inherited

step () inherited

stepFrame () inherited

tab (editField) inherited

Name Type Description
editField Morph

tagExitBlocks (stopTag, isCommand) inherited

Name Type Description
stopTag ?
isCommand boolean

thumbnail (scale, clipWidth)HTMLCanvasElement inherited

Name Type Description
scale number
clipWidth number optional
Returns:
Type Description
HTMLCanvasElement

toggleHighlight () inherited

toggleIsDraggable () inherited

toggleSnapSound () inherited

toggleTransientVariable () inherited

toggleVisibility () inherited

top ()number inherited

Returns:
Type Description
number

topBlock ()? inherited

Returns:
Type Description
?

topCenter ()Point inherited

Returns:
Type Description
Point

topLeft ()Point inherited

Returns:
Type Description
Point

topMorphAt (point)Morph inherited

Name Type Description
point Point
Returns:
Type Description
Morph

topMorphSuchThat (predicate)Morph inherited

Name Type Description
predicate function
Returns:
Type Description
Morph

topRight ()Point inherited

Returns:
Type Description
Point

toString ()String inherited

Returns:
Type Description
String
Example
'a Morph 10 [0@0 | 50@40]'

unflash () inherited

unringify () inherited

updateReferences (map) inherited

Name Type Description
map Map

userDestroy () inherited

userMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

userSetSpec (spec) inherited

Name Type Description
spec String

vanishForSimilar ()

varExistsError (ide, where) inherited

Name Type Default Description
ide IDE_Morph
where String 'in this context' optional

visibleBounds ()Rectangle inherited

Returns:
Type Description
Rectangle

wantsDropOf (aMorph)boolean inherited

Name Type Description
aMorph Morph
Returns:
Type Description
boolean

width ()number inherited

Returns:
Type Description
number
Returns:
Type Description
WorldMorph