Available translations



loading results
Style
A style is a definition of color and opacity in case of a polygon body, and color, opacity and line thickness in case of polygon borders.
Стиль - это определение цвета и прозрачности в случае тела полигона, и цвета, прозрачности и толщины линии в случае границ полигона.
Content
A style applied to a polygon body or a polygon border node acts as the default style. Styles including colors, opacity, line width, and more, are defined in the node's configuration.
Стиль, примененный к узлу Polygon Body или Polygon Border, действует как стиль по умолчанию. Стили, включая цвет, прозрачность, ширину линии и другие, определяются в конфигурации узла.
Note: See the configuration for further details.
Configuring
Style Configuration
Конфигурация Style
Properties
Свойства
A typical definition for a polygon body style looks like this:
Типичное определение стиля тела полигона выглядит так:
{
"default": {
"opacity": 0.2,
"paletteColor": "UI_COLOR.DARK_TURQUOISE"
},
"atMousePosition": {
"opacity": 0.3,
"paletteColor": "UI_COLOR.DARK_TURQUOISE"
}
} A typical definition for a polygon border style has a couple more properties:
Типичное определение стиля границы полигона имеет еще пару свойств:
{
"default": {
"opacity": 0.2,
"lineWidth": 1,
"lineDash": [0,0],
"paletteColor": "UI_COLOR.DARK_TURQUOISE"
},
"atMousePosition": {
"opacity": 0.3,
"lineWidth": 2,
"lineDash": [0,0],
"paletteColor": "UI_COLOR.RUSTED_RED"
}
} The first section of the definition refers, as explicitly stated, to the default state of the style.
Первый раздел определения относится, как прямо указано, к состоянию стиля по умолчанию.
The second section refers to the style assigned to the column or period on which the mouse pointer is located. This is very useful for highlighting the specific zone of interest as the user browses the charts.
Вторая секция относится к стилю, назначенному столбцу или периоду, на котором находится указатель мыши. Это очень полезно для выделения конкретной зоны, представляющей интерес, когда пользователь просматривает графики.
- opacity is probably self-explanatory. It may range from 0 for a fully transparent object to 1 for a solid object.
- прозрачность, вероятно, не требует пояснений. Она может варьироваться от 0 для полностью прозрачного объекта до 1 для непрозрачного объекта.
-
paletteColorsets the color for the fill or stroke in cases of polygon bodies and polygon borders respectively. Use the variable UI_COLOR followed by a dot and any of the properties in the following list for a selection of currently available colors.
-
paletteColorзадает цвет для заливки или обводки в случае тел полигонов и границ полигонов соответственно. Используйте переменную UI_COLOR, за которой следует точка, и любое из свойств в следующем списке для выбора доступных цветов.
| Variable Value | RGB Value | Color Sample |
|---|---|---|
| DARK | 48, 48, 54 | |
| LIGHT | 234, 226, 222 | |
| GREY | 150, 150, 150 | |
| LIGHT_GREY | 247, 247, 247 | |
| WHITE | 255, 255, 255 | |
| BLACK | 0, 0, 0 | |
| GOLDEN_ORANGE | 240, 162, 2 | |
| RUSTED_RED | 204, 88, 53 | |
| GREEN | 188, 214, 67 | |
| RED | 223, 70, 60 | |
| PATINATED_TURQUOISE | 27, 153, 139 | |
| TITANIUM_YELLOW | 244, 228, 9 | |
| MANGANESE_PURPLE | 91,80, 122 | |
| TURQUOISE | 74, 207, 217 | |
| DARK_TURQUOISE | 2, 149, 170 | |
| SILVER | 191, 192, 192 | |
| TRUE_GREEN | 0, 225, 0 | |
| TRUE_RED | 255, 0, 0 | |
| TRUE_YELLOW | 255, 255, 0 | |
| TRUE_BLUE | 0, 0, 255 | |
| BROWN | 121, 58, 21 | |
| TRUE_ORANGE | 255, 160, 10 | |
| JUNGLE_GREEN | 50, 175, 162 | |
| JUNGLE_LIGHT | 165, 223, 210 | |
| LIGHT_PINK | 254, 180, 200 | |
| NEON_GREEN | 15, 252, 31 | |
| PINK | 255, 77, 78 | |
| TENKAN_GREEN | 43, 117, 55 | |
| TENKAN_ORANGE | 233, 100, 34 | |
| SKY_BLUE | 133, 206, 255 | |
| MDA_PURPLE | 126, 71, 255 | |
| PERSIAN_GREEN | 27, 153, 139 | |
| ORANGE_WEB | 252, 163, 17 | |
| OXFORD_BLUE | 20, 33, 61 | |
| BYZANTINE_PINK | 181, 23, 158 | |
| TRUE_PURPLE | 114, 9, 183 | |
| ULTRAMARINE_BLUE | 67, 97, 238 | |
| OCEAN_GREEN | 116, 198, 157 | |
| BOTTLE_GREEN | 45, 106, 79 | |
| WINDSOR_TAN | 153, 88, 42 | |
| PERSIAN_PLUM | 111, 29, 27 | |
| APPLE_GREEN | 128, 185, 24 | |
| MIDNIGHT_GREEN | 6, 90, 96 | |
| RED_ORANGE | 255, 72, 0 | |
| CARIBBEAN_GREEN | 59, 206, 172 | |
| CAMEL_TAN | 187, 148, 87 | |
| CYBER_GRAPE | 98, 84, 160 | |
-
lineWidthis the width of the border line, which should be greater than 0.
-
lineWidth- ширина линии границы, которая должна быть больше 0.
-
lineDashis used to turn the border into a dashed-line; the first value corresponds to the length of the dash while the second value defines the length of the space.
-
lineDashиспользуется для превращения границы в пунктирную линию; первое значение соответствует длине тире, а второе определяет длину пробела.
Initial Values
These are the Initial Values for Style configuration:
{
"default": {
"opacity": 0.2,
"lineWidth": 1,
"lineDash": [
0,
0
],
"paletteColor": "UI_COLOR.DARK_TURQUOISE"
},
"atMousePosition": {
"opacity": 0.3,
"lineWidth": 2,
"lineDash": [
0,
0
],
"paletteColor": "UI_COLOR.RUSTED_RED"
}
} Examples
This is a list of properties featured by the Style configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Style Menu
The Style node has the following Node Menu items:
The Configure menu item has the following properties:
- action: Configure
- actionFunction:
uiObject.configEditor.activate
- label: Configure
- iconPathOn: configuration
- iconPathOff: configuration
The Delete menu item has the following properties:
- action: Delete UI Object
- actionProject: Visual-Scripting
- askConfirmation: true
- confirmationLabel: Confirm to Delete
- actionFunction:
payload.executeAction
- label: Delete
- iconPathOn: delete-entity
- iconPathOff: delete-entity
Tip: When a menu item is grayed out, it means that Style already has the required child type that the menu item may add, and only that child is allowed for that case.
Style Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Style with other nodes:
Compatible Types: