Skip to content

Commit

Permalink
Merge pull request #155 from codeSafari10/styles-update
Browse files Browse the repository at this point in the history
add shape polygon point to styles
  • Loading branch information
aabidsofi19 authored Aug 26, 2024
2 parents 74756ac + 30124cf commit af8b155
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schemas/constructs/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@
"description": "The opacity of the area outside the viewport texture. Selector needs to be *core*",
"minimum": 0,
"maximum": 1
},
"shape-polygon-points": {
"type": "string",
"description": "An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node’s shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node’s position is the origin (0, 0 )"
}
}
}
Expand Down

0 comments on commit af8b155

Please sign in to comment.