|
Method
|
Comment |
| draw3DBox |
Draw
a 3D box at the current location using the current box defaults. |
| draw3DBox:
aBoxExtent color: aColor fill: fill |
Draw
a 3D box using aBoxExtent extent, fill fill and the current line width. |
| draw3DBox:
aBoxExtent fill: fill |
Draw
a 3D box using aBoxExtent extent, fill fill and the current line width and
color. |
| draw3DBox:
aRectangle |
Draw
a 3D box at the current location using the aRectangle box extent, the
current fill, current color and the current line width. |
| drawBox |
Draw
a box at the current location using the current box defaults. |
| drawBox:
aBoxExtent color: aColor fill: fill |
Draw
a box using aBoxExtent extent, fill fill and the current line width and
color. |
| drawBox:
aBoxExtent fill: fill |
Draw
a box using aBoxExtent extent, fill fill and the current line width and
color. |
| drawBox:
aRectangle |
Draw
a box at the current location using the aRectangle box extent, the current
color, current fill and the current line width. |
| drawCircle:
aRadius |
Draw
a circle of aRadius radius using the current circle defaults. |
| drawCircle:
aRadius orientation: aSymbol |
Draw
a circle using aRadius and the remaining current circle defaults except
orientation. Currently, the only orientation implemented is top left
corner justified. |
| drawCircle:
aRadius orientation: orientation color: aColor fill: fill |
Draw
a circle using aRadius, a Color and fill and the remaining current circle
defaults except orientation. Currently, the only orientation implemented
is top left corner justified. |
| drawCircle:
aRadius orientation: orientation fill: fill |
Draw
a circle using aRadius and the remaining current circle defaults except
orientation and fill. Currently, the only orientation implemented is top
left corner justified. |
| drawEllipse:
extent |
Draw
an ellipse in to a box of extent size with the remaining current ellipse
defaults. 0 @ 360 gives a complete ellipse |
| drawEllipse:
extent angles: angles |
Draw
an ellipse using extent as the bounding box, angles ( a point ) as the two
angles and the remaining current circle defaults. Currently, the only
orientation implemented is top left corner justified. |
| drawEllipse:
extent angles: angles orientation: orientation |
Draw
an ellipse using extent as the bounding box, angles ( a point ) as the two
angles and the remaining current circle defaults except orientation.
Currently, the only orientation implemented is top left corner justified. |
| drawEllipse:
extent angles: angles orientation: orientation color: aColor fill: fill |
Draw
an ellipse using extent as the bounding box, angles ( a point ) as the two
angles and the remaining current circle defaults except color, orientation
and fill. Currently, the only orientation implemented is top left corner
justified. |
| drawEllipse:
extent angles: angles orientation: orientation fill: fill |
Draw
an ellipse using extent as the bounding box, angles ( a point ) as the two
angles and the remaining current circle defaults except orientation and
fill. Currently, the only orientation implemented is top left corner
justified. |
| drawFilledBox |
Draw
a box using the current box defaults except for the fill, which is
overridded to True. |
| drawImageFromKey:
aKey |
Draw
an image which is taken from the current Image dictionary under aKey key.
All settings are taken from the current image defaults. |
| drawImageFromKey:
aKey justify: aJustification |
Draw
an image which is taken from the current Image dictionary under aKey key.
All settings are taken from the current image defaults except for the
justification. |
| drawImageFromKey:
aKey justify: aJustification into: aBox |
Draw
an image which is taken from the current Image dictionary under aKey key.
All settings are taken from the current image defaults except for the
justification and the bounding box. |
| drawImageFromPath:
aPath |
Draw
an image which is taken from the given file path. All settings are taken
from the current image defaults. |
| drawImageFromPath:
aPath justify: aJustification |
Draw
an image which is taken from the given file path. All settings are taken
from the current image defaults except for the justification. |
| drawImageFromPath:
aPath justify: aJustification into: aBoxExtent |
Draw
an image which is taken from the given file path. All settings are taken
from the current image defaults except for the justification and the
bounding box. |
| drawImageUsing:
image justify: aJustification into: aBoxExtent |
Draw
an image which must be in VAST DIB format. All settings are taken from the
current image defaults except for the justification and the bounding box. |
| drawOpenBox |
Draw
a box using the current box defaults except for the fill, which is
overridded to False. |
| drawPolygon:
anArray |
Draw
an N sided polygon using an array of points using the current line width. |
| drawPolygonWithPoints:
points angles: angles |
Draw an N sided
polygon using an array of points as locations and an array of floats as
angles and the current line width. drawShadowBox |
| drawShadowBox:
aBoxExtent color: aColor fill: fill shadowWidth: sw |
Draw
a shadow box using aBoxExtent extent, fill fill, sw shadow width and the
current line width. |
| drawShadowBox:
aBoxExtent fill: fill |
Draw
a shadow box using aBoxExtent extent, fill fill and the current line width
and shadow width. |
| drawShadowBox:
aBoxExtent fill: fill shadowWidth: sw |
Draw
a shadow box using aBoxExtent extent, fill fill, sw shadow width and the
current line width. |
| drawShadowBox:
aRectangle |
Draw
a shadow box at the current location using the aRectangle box extent, the
current fill and the current line width. |
| lines |
Set
the value of noLines so that lines will be drawn when the pen is down. |
| loadImage:
aPath as: aKey |
Loads
an image from a file path, converts it to VAST DIB format and stores it in
the Image dictionary keyed as aKey. |
| loadImageFromPath:
aPath |
Answers
an image from a file path having converted it to VAST DIB format. |
| loadText:
aPath |
Answers
a text string from a file path. |
| loadText:
aPath as: aKey |
Loads
a text string from a file path and stores it in the Text dictionary keyed
as aKey. |
| loadTextDictFromPath:
aPath |
Imports
a text file as a texts style dictionary and adds it to texts. |
| move:
aDistance |
Move
the Turtle aDistance in the direction set by the turtle currentAngle. |
| moveTo:
aPoint |
Move
the Turtle directly to aPoint. |
| noLines |
Set
the value of noLines so that no lines will be drawn when the pen is down.
This means that only text and images will be drawn. |
| penDown |
Sets
the pen state to down. The pen needs to be down to create any output. To
produce any output other than text and images, the lines command must also
be sent. To produce only text and images output then send the noLines
command with this. |
| penUp |
Sets
the pen state to up. In this state, there will be no output from the
turtle as the pen needs to be down to create any output. |
| text:
aString |
Output
aString using the current text defaults. |
| text:
aString into: aWidth |
Output
aString using the current text defaults. The text will be word wrapped
into a box of aWidth width and of sufficient height to display the text in
its entirety. |
| text:
aString justify: aJustification |
Output
aString using the current text defaults except for the justification. |
| text:
aString justify: aJustification into: aWidth |
Output
aString using the current text defaults except for the justification. The
text will be word wrapped into a box of aWidth width and of sufficient
height to display the text in its entirety. |
| text:
aString justify: aJustification into: aWidth color: aColor |
Output
aString using the current text defaults except for the justification. The
text will be word wrapped into a box of aWidth width and of sufficient
height to display the text in its entirety. |
| textFromKey:
aKey |
Output
a text string which is taken from the current Text dictionary under aKey
key. All settings are taken from the current image defaults. |
| textFromKey:
aKey into: aWidth |
Output
a text string which is taken from the current Text dictionary under aKey
key. All settings are taken from the current image defaults. The text will
be word wrapped into a box of aWidth width and of sufficient height to
display the text in its entirety. |
| textFromKey:
aKey justify: aJustification |
Output
a text string which is taken from the current Text dictionary under aKey
key. All settings are taken from the current image defaults except for the
text justification. |
| textFromKey:
aKey justify: aJustification into: aWidth |
Output
a text string which is taken from the current Text dictionary under aKey
key. All settings are taken from the current image defaults except for the
text justification. The text will be word wrapped into a box of aWidth
width and of sufficient height to display the text in its entirety. |
| textFromPath:
aPath |
Outputs
a string after loading it from a file path aPath. |
| textFromPath:
aPath into: aWidth |
Outputs
a string after loading it from a file path aPath. The text will be word
wrapped into a box of aWidth width and of sufficient height to display the
text in its entirety. |
| textFromPath:
aPath justify: aJustification |
Outputs
a string after loading it from a file path aPath. All settings are taken
from the current image defaults except for the text justification. |
| textFromPath:
aPath justify: aJustification into: aWidth |
Outputs
a string after loading it from a file path aPath. All settings are taken
from the current image defaults except for the text justification. The
text will be word wrapped into a box of aWidth width and of sufficient
height to display the text in its entirety. |
| textToDict:
aString as: aKey |
Takes
the given text string and stores it in the Text dictionary keyed as aKey. |
| turn:
aDegree |
Directs
the Turtle to turn aDegree. This is added to the current currentAngle to
obtain the wanted direction. |
| turnTo:
aDegree |
Directs
the Turtle to turn TO aDegree. The final direction is now aDegree. |