रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > थीम > setFontStyle
थीम.setFontStyle() मेथड
किसी थीम की फ़ॉन्ट स्टाइल कॉन्फ़िगर करें.
हस्ताक्षर:
setFontStyle(fontStyle: FontStyle): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
fontStyle |
FontStyle |
फ़ॉन्ट स्टाइल. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-09 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-09 (UTC) को अपडेट किया गया."],[[["The `setFontStyle()` method allows you to configure the font style for a Blockly theme."],["It takes a single argument, `fontStyle`, of type `FontStyle`, which specifies the desired font style."],["Calling `setFontStyle()` updates the theme's font style, impacting the visual appearance of Blockly blocks and elements."]]],["The `setFontStyle()` method, part of the `Theme` class, configures a theme's font style. It accepts a single parameter, `fontStyle`, of type `FontStyle`, which defines the desired font style. The method's purpose is to apply the specified font style to the theme. It does not return any value (void).\n"]]