blockly > blockRendering > ConstantProvider > makeJaggedTeeth
blockRendering.ConstantProvider.makeJaggedTeeth() method
Signature:
protected makeJaggedTeeth(): JaggedTeeth;
Returns:
JaggedTeeth
An object containing sizing and path information about collapsed block indicators.
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.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `blockRendering.ConstantProvider.makeJaggedTeeth()` method calculates and stores dimensions and path data for visual indicators on collapsed blocks."],["It returns a `JaggedTeeth` object containing this information for use in rendering the collapsed block's appearance."]]],["The `makeJaggedTeeth()` method, part of the `ConstantProvider` class within the `blockRendering` namespace, generates data for collapsed block indicators. It returns a `JaggedTeeth` object. This object includes the necessary sizing and path details to render the visual representation of jagged teeth, which are used as indicators of a block being collapsed within the Blockly interface. This data is crucial for rendering visual indicators on the user interface.\n"]]