Merge "ShapeNode with separate stroke and fill paints"
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 11 Jul 2020 13:19:12 +0000 (13:19 +0000)
committerGerrit Code Review <gerrit2@simantics>
Sat, 11 Jul 2020 13:19:12 +0000 (13:19 +0000)
bundles/org.simantics.g2d.ontology/graph/G2D.pgraph

index 4c44b6152372a26490808edc8da6251fad824e70..269f6a4fbe0a08f01f3dcbc0d0ed8d0c58b642d9 100644 (file)
@@ -212,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