187 lines
6.3 KiB
JSON
187 lines
6.3 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiEllipse",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "Ellipse",
|
|
"version": {
|
|
"full": "14.4.1.0",
|
|
"major": 14,
|
|
"minor": 4,
|
|
"build": 1,
|
|
"revision": 0
|
|
},
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"base": "TcHmi.Controls.System.TcHmiControl",
|
|
"description": "An ellipse.",
|
|
"defaultDesignerEvent": ".onPressed",
|
|
"properties": {
|
|
"containerControl": false,
|
|
"geometry": {
|
|
"width": 150,
|
|
"height": 75
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"name": "Icons/16x16.png",
|
|
"width": 16,
|
|
"height": 16
|
|
}
|
|
],
|
|
"template": "Template.html",
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "../dist/TcHmiEllipse/TcHmiEllipse.esm.js",
|
|
"type": "EsModule",
|
|
"description": "Contains all the main logic as ES module."
|
|
}
|
|
],
|
|
"themes": {
|
|
"Base": {
|
|
"resources": [
|
|
{
|
|
"name": "Themes/Base/Defaults.theme",
|
|
"type": "ThemedValues",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "Themes/Base/Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
}
|
|
]
|
|
},
|
|
"Base-Dark": {
|
|
"resources": [
|
|
{
|
|
"name": "Themes/Base-Dark/Defaults.theme",
|
|
"type": "ThemedValues",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "Themes/Base-Dark/Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"attributes": [
|
|
{
|
|
"name": "data-tchmi-fill-color",
|
|
"propertyName": "FillColor",
|
|
"propertySetterName": "setFillColor",
|
|
"propertyGetterName": "getFillColor",
|
|
"displayName": "Fill Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/Color",
|
|
"category": "Colors",
|
|
"description": "Defines the color of the interior of the control.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-stroke-color",
|
|
"propertyName": "StrokeColor",
|
|
"propertySetterName": "setStrokeColor",
|
|
"propertyGetterName": "getStrokeColor",
|
|
"displayName": "Stroke Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "Specifies the color of the outline of the control.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-stroke-thickness",
|
|
"propertyName": "StrokeThickness",
|
|
"propertySetterName": "setStrokeThickness",
|
|
"propertyGetterName": "getStrokeThickness",
|
|
"displayName": "Stroke Thickness",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/MeasurementValue",
|
|
"category": "Shape",
|
|
"description": "Specifies the width of the outline of the control in pixel.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-stroke-thickness-unit",
|
|
"propertyName": "StrokeThicknessUnit",
|
|
"propertyGetterName": "getStrokeThicknessUnit",
|
|
"refTo": "StrokeThickness",
|
|
"displayName": "Stroke Thickness Unit",
|
|
"visible": true,
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/PixelUnit",
|
|
"category": "Shape",
|
|
"description": "Only Pixel is allowed.",
|
|
"readOnly": true,
|
|
"bindable": false,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValueInternal": "px"
|
|
},
|
|
{
|
|
"name": "data-tchmi-stroke-style",
|
|
"propertyName": "StrokeStyle",
|
|
"propertySetterName": "setStrokeStyle",
|
|
"propertyGetterName": "getStrokeStyle",
|
|
"displayName": "Stroke Style",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:general#/definitions/String",
|
|
"category": "Shape",
|
|
"description": "It's a list of comma and/or white space separated numbers that specify the lengths of alternating dashes and gaps.\nIf an odd number of values is provided, then the list of values is repeated to yield an even number of values. Thus, 5,3,2 is equivalent to 5,3,2,5,3,2.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": ""
|
|
}
|
|
],
|
|
"attributeCategories": [
|
|
{
|
|
"name": "Shape",
|
|
"defaultCollapsed": true,
|
|
"displayPriority": 500,
|
|
"description": "Attributes defining the appearance of the control."
|
|
}
|
|
],
|
|
"functions": [],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
}
|
|
]
|
|
} |