Research Survey: Tell us about your experience with Blockly
Start survey
Stay organized with collections
Save and categorize content based on your preferences.
blockly > utils
utils namespace
Classes
Class |
Description |
Coordinate |
Class for representing coordinates and positions. |
Rect |
Class for representing rectangular regions. |
Size |
Class for representing sizes consisting of a width and height. |
Svg |
A name with the type of the SVG element stored in the generic. |
Enumerations
Enumeration |
Description |
KeyCodes |
Key codes for common characters. Copied from Closure's goog.events.KeyCodes This list is not localized and therefore some of the key codes are not correct for non US keyboard layouts. See comments below. |
Interfaces
Namespaces
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `Blockly.utils` namespace provides a collection of utility classes, enumerations, and namespaces for various functionalities within Blockly."],["It includes classes for handling coordinates, rectangles, sizes, and SVG elements."],["It offers enumerations for key codes and interfaces for metrics."],["Several namespaces offer utilities for areas like ARIA, arrays, browser events, color, DOM manipulation, extensions, ID generation, math, objects, parsing, strings, styles, SVG math, SVG paths, toolbox, user agents, and XML."],["These utilities assist in building and managing Blockly workspaces and functionalities."]]],[]]