blockly > blockRendering > ConstantProvider > generateTertiaryColour_
Metoda blockRendering.ConstantProvider.generateTertiaryColour_()
Wygeneruj barwę trzeciorzędną na podstawie przekazanego koloru podstawowego.
Podpis:
protected generateTertiaryColour_(inputColour: string): string;
Parametry
Parametr |
Typ |
Opis |
inputColour |
ciąg znaków |
Kolor podstawowy. |
Zwroty:
ciąg znaków
Wygenerowany trzeci kolor.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-09 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-09 UTC."],[[["The `generateTertiaryColour_` method, part of `blockRendering.ConstantProvider`, creates a tertiary color based on a given primary color."],["It accepts a primary color as a string input (`inputColour`) and returns the generated tertiary color, also as a string."]]],["The `generateTertiaryColour_` method, part of `blockRendering.ConstantProvider`, takes a primary color string as input. It then generates and returns a tertiary color string derived from the provided primary color. This method's primary function is the creation of a tertiary color based on a given primary color.\n"]]