CreateVisualRequest

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
type string Type of visual to create
offset object
size object
opacity number
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-createvisualrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateVisualRequest",
  "title": "CreateVisualRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "SpriteVisual",
        "ContainerVisual",
        "LayerVisual",
        "ShapeVisual"
      ],
      "description": "Type of visual to create"
    },
    "offset": {
      "$ref": "#/components/schemas/Vector3"
    },
    "size": {
      "$ref": "#/components/schemas/Vector2"
    },
    "opacity": {
      "type": "number",
      "format": "float",
      "default": 1.0
    }
  },
  "required": [
    "type"
  ]
}