Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > IPathObject > style
blockRendering.IPathObject.style property
The primary path of the block.
Signature:
style: BlockStyle;
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."],[[["`style` stores the BlockStyle for the primary path of a block."],["It determines the visual appearance, such as color and stroke, of the block's outline."],["This property is part of the `IPathObject` interface within Blockly's block rendering namespace."]]],["The `style` property within `blockRendering.IPathObject` defines the primary path's visual appearance for a block. It utilizes the `BlockStyle` to determine how the block is rendered. This property is central to how a block's shape and visual characteristics are determined and displayed.\n"]]