From eb4eda5029174368e3c23ef20a8c78e205cc0ced Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:12:00 +0100 Subject: [PATCH] update schema --- .../Resources/CustomBootstrapperSchema.json | 49 ++++++++++++++++--- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/Bloxstrap/Resources/CustomBootstrapperSchema.json b/Bloxstrap/Resources/CustomBootstrapperSchema.json index c00d3c5a..9f1dc395 100644 --- a/Bloxstrap/Resources/CustomBootstrapperSchema.json +++ b/Bloxstrap/Resources/CustomBootstrapperSchema.json @@ -126,13 +126,20 @@ "Y": "double" } }, - "RenderTransform": { + "ImageBrush": { "IsCreatable": true, - "Attributes": {} - }, - "Content": { - "IsCreatable": true, - "Attributes": {} + "Attributes": { + "AlignmentX": "AlignmentX", + "AlignmentY": "AlignmentY", + "Opacity": "double", + "Stretch": "Stretch", + "TileMode": "TileMode", + "ViewboxUnits": "BrushMappingMode", + "ViewportUnits": "BrushMappingMode", + "Viewbox": "Rect", + "Viewport": "Rect", + "ImageSource": "Source" + } } }, "Types": { @@ -146,6 +153,7 @@ "int": {}, "double": {}, "Thickness": {}, + "Rect": {}, "Brush": {}, "Content": {}, "Visibility": { @@ -246,6 +254,35 @@ "DownOnly", "Both" ] + }, + "AlignmentX": { + "Values": [ + "Left", + "Center", + "Right" + ] + }, + "AlignmentY": { + "Values": [ + "Top", + "Center", + "Bottom" + ] + }, + "TileMode": { + "Values": [ + "None", + "FlipX", + "FlipY", + "FlipXY", + "Tile" + ] + }, + "BrushMappingMode": { + "Values": [ + "Absolute", + "RelativeToBoundingBox" + ] } } } \ No newline at end of file