Minor changes to the new text utility code used in String input type.
- Does not force turtle to operate in radians
- Now respects turtle.isdown() and doesn't print if true
- Text.size(turtle, str, scale = 1) returns properties of text str to be printed
- Text.bbox(turtle, str, scale = 1) returns bounding box of text str to be printed
- Text.dimensions(scale = 1) returns properties of fontData for scale
- Text.bboxPrint(turtle, str, scale = 1) prints the text and returns the absolute bounding box
Log in to post a comment.
// The MIT License// as per https://turtletoy.net/turtle/0f84fd3ae4