Stay organized with collections
Save and categorize content based on your preferences.
blockly > geras > RenderInfo > (constructor)
geras.RenderInfo.(constructor)
Constructs a new instance of the RenderInfo
class
Signature:
constructor(renderer: Renderer, block: BlockSvg);
Parameters
Parameter |
Type |
Description |
renderer |
Renderer |
The renderer in use. |
block |
BlockSvg |
The block to measure. |
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 `RenderInfo` class constructor initializes a new instance. It requires two parameters: `renderer`, which is the current renderer being used, and `block`, which is the `BlockSvg` instance that needs to be measured. This class is part of the `geras` namespace within the `blockly` library. The constructor's purpose is to set up the necessary information for rendering a block.\n"]]