mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
Update example
This commit is contained in:
parent
4467f61f32
commit
fcaadbc185
@ -49,9 +49,9 @@ DiyaExampleApp >> setup [
|
|||||||
node bgColor: Color transparent.
|
node bgColor: Color transparent.
|
||||||
node align: #center.
|
node align: #center.
|
||||||
|
|
||||||
"node := root addNode: (DiyaLine from: 10@10 to: 200@200).
|
node := root addNode: (DiyaLine from: 10@10 to: 200@200).
|
||||||
node color: (Color red).
|
node color: (Color red).
|
||||||
node borderWidth: 2.0."
|
node borderWidth: 2.0.
|
||||||
|
|
||||||
ell := root addNode: (DiyaEllipse rx:100 ry: 70) at: 100@300.
|
ell := root addNode: (DiyaEllipse rx:100 ry: 70) at: 100@300.
|
||||||
ell borderColor: Color red.
|
ell borderColor: Color red.
|
||||||
|
Loading…
Reference in New Issue
Block a user