6666
|
1 |
"{ Package: 'stx:libview' }"
|
|
2 |
|
|
3 |
FillStyle subclass:#SolidFillStyle
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'Graphics-Support'
|
|
8 |
!
|
|
9 |
|
|
10 |
!SolidFillStyle class methodsFor:'documentation'!
|
|
11 |
|
|
12 |
documentation
|
|
13 |
"
|
|
14 |
an as-yet unused class.
|
|
15 |
For now, this is present as compatibility class (for Squeak),
|
|
16 |
but we may move change the fill/drawing code in the view hierarchy to use it later.
|
|
17 |
|
|
18 |
[author:]
|
|
19 |
cg
|
|
20 |
|
|
21 |
[instance variables:]
|
|
22 |
|
|
23 |
[class variables:]
|
|
24 |
|
|
25 |
[see also:]
|
|
26 |
|
|
27 |
"
|
|
28 |
! !
|
|
29 |
|
|
30 |
!SolidFillStyle methodsFor:'*SVG-Morphic'!
|
|
31 |
|
|
32 |
alpha: fraction
|
|
33 |
"Answer a new fill with the extra transparency."
|
|
34 |
|
|
35 |
^self copy
|
|
36 |
color: (self color alphaMixed: fraction)
|
|
37 |
! !
|
|
38 |
|
|
39 |
!SolidFillStyle class methodsFor:'documentation'!
|
|
40 |
|
|
41 |
version
|
|
42 |
^ '$Header: /cvs/stx/stx/libview/SolidFillStyle.st,v 1.1 2014-12-19 15:09:36 cg Exp $'
|
|
43 |
!
|
|
44 |
|
|
45 |
version_CVS
|
|
46 |
^ '$Header: /cvs/stx/stx/libview/SolidFillStyle.st,v 1.1 2014-12-19 15:09:36 cg Exp $'
|
|
47 |
! !
|
|
48 |
|