--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/GradientFillStyle.st Fri Dec 19 16:09:04 2014 +0100
@@ -0,0 +1,47 @@
+"{ Package: 'stx:libview' }"
+
+FillStyle subclass:#GradientFillStyle
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Graphics-Support'
+!
+
+!GradientFillStyle class methodsFor:'documentation'!
+
+documentation
+"
+ an as-yet unused class.
+ For now, this is present as compatibility class (for Squeak),
+ but we may move change the fill/drawing code in the view hierarchy to use it later.
+
+ [author:]
+ cg
+
+ [instance variables:]
+
+ [class variables:]
+
+ [see also:]
+
+"
+! !
+
+!GradientFillStyle methodsFor:'*SVG-Morphic'!
+
+alphaMixed: fraction
+ "Answer a new fill with the extra transparency."
+
+ ^self copy colorRamp: (colorRamp collect:[:assoc| assoc key -> (assoc value alphaMixed: fraction)])
+! !
+
+!GradientFillStyle class methodsFor:'documentation'!
+
+version
+ ^ '$Header: /cvs/stx/stx/libview/GradientFillStyle.st,v 1.1 2014-12-19 15:09:04 cg Exp $'
+!
+
+version_CVS
+ ^ '$Header: /cvs/stx/stx/libview/GradientFillStyle.st,v 1.1 2014-12-19 15:09:04 cg Exp $'
+! !
+