From fb7e14bf64b5196e96f2ee82e92ad5fb34b4847d Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sun, 20 Oct 2024 21:43:19 +0100 Subject: [PATCH] update schema --- .../Resources/CustomBootstrapperSchema.json | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/Bloxstrap/Resources/CustomBootstrapperSchema.json b/Bloxstrap/Resources/CustomBootstrapperSchema.json index a2d9713d..b3206cb3 100644 --- a/Bloxstrap/Resources/CustomBootstrapperSchema.json +++ b/Bloxstrap/Resources/CustomBootstrapperSchema.json @@ -45,7 +45,7 @@ "SuperClass": "Control", "IsCreatable": true, "Attributes": { - "Content": "Content" + "Content": "object" } }, "ProgressBar": { @@ -153,6 +153,24 @@ "Viewport": "Rect", "ImageSource": "ImageSource" } + }, + "LinearGradientBrush": { + "SuperClass": "Brush", + "IsCreatable": true, + "Attributes": { + "StartPoint": "Point", + "EndPoint": "Point", + "ColorInterpolationMode": "ColorInterpolationMode", + "MappingMode": "BrushMappingMode", + "SpreadMethod": "GradientSpreadMethod" + } + }, + "GradientStop": { + "IsCreatable": true, + "Attributes": { + "Color": "Color", + "Offset": "double" + } } }, "Types": { @@ -165,11 +183,12 @@ }, "int": {}, "double": {}, + "object": {}, "Thickness": {}, "Rect": {}, + "Point": {}, "Brush": {}, "Color": {}, - "Content": {}, "ImageSource": {}, "Visibility": { "Values": [ @@ -298,6 +317,19 @@ "Absolute", "RelativeToBoundingBox" ] + }, + "ColorInterpolationMode": { + "Values": [ + "ScRgbLinearInterpolation", + "SRgbLinearInterpolation" + ] + }, + "GradientSpreadMethod": { + "Values": [ + "Pad", + "Reflect", + "Repeat" + ] } } } \ No newline at end of file