Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms minimum orthogonal sprite height

An agent that builds a bounded CMS sprite sheet needs its claimed minimum strip height checked for arbitrary orthogonal rectangle placements instead of validating only a supplied guillotine cut plan.

POST https://detect.halowerk.com/v1/cms/cms-minimum-orthogonal-sprite-height

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 1,
          "maximum": 16
        },
        "rectangles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "width": {
                "type": "integer",
                "minimum": 1,
                "maximum": 16
              },
              "height": {
                "type": "integer",
                "minimum": 1,
                "maximum": 16
              },
              "may_rotate": {
                "type": "boolean"
              }
            },
            "required": [
              "width",
              "height",
              "may_rotate"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 6
        },
        "claimed_height": {
          "type": "integer",
          "minimum": -1,
          "maximum": 96
        }
      },
      "required": [
        "width",
        "rectangles",
        "claimed_height"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "width": 5,
    "rectangles": [
      {
        "width": 1,
        "height": 5,
        "may_rotate": true
      },
      {
        "width": 5,
        "height": 5,
        "may_rotate": true
      }
    ],
    "claimed_height": 6
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →