]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.g2d.ontology/graph/G2D.pgraph
Merge "ShapeNode with separate stroke and fill paints"
[simantics/platform.git] / bundles / org.simantics.g2d.ontology / graph / G2D.pgraph
index ce06a4109e47fe1c9b94b25e6cfd0f267554264a..269f6a4fbe0a08f01f3dcbc0d0ed8d0c58b642d9 100644 (file)
@@ -94,6 +94,8 @@ G2D.StrokeType.Scaling : G2D.StrokeType
 G2D.StrokeType.Nonscaling : G2D.StrokeType
 G2D.HasRounding <R L0.HasProperty : L0.FunctionalRelation
     --> L0.Double
+G2D.HasOffset <R L0.HasProperty : L0.FunctionalRelation
+    --> L0.Double
 G2D.HasBranchPointRadius <R L0.HasProperty : L0.FunctionalRelation
     --> L0.Double
 G2D.LineEnd <T L0.Property
@@ -210,7 +212,9 @@ G2D.HasVerticalAlignment <R L0.IsRelatedTo : L0.FunctionalRelation
 
 G2D.Color <T L0.Literal
     @L0.assert L0.HasDataType $(Float[4])
+    @L0.assert L0.HasValueType "Vector Float"
     L0.HasDescription "A 4-component BGRA color as floats."
+    
 G2D.HasColor <R L0.HasProperty : L0.FunctionalRelation
     L0.HasLabel "Color"
     --> G2D.Color