Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 75 - Playgujarati_V1.0
P. 75

    isu CykWd (The Pen Block)
                     LozSQp esa isu CykWd LçkbV osQ 'ksIl cukus vkSj LØhu ij jaxhu fiDlsYk IykWV djus dh vuqefr nsrs gSaA ;s CykWDl

                     xgjs gjs jax esa dksfMr gksrs gSa vkSj LçkbV osQ iSjksa osQ fu'kku cukus osQ fy, mi;ksx fd, tkrs gSaA

                                   CykWDl                                             dk;Z

                                                         ;g CykWd LçkbV osQ isu dks Åij j•rk gS] rkfd LØhu ij pyrs gh
                                   pen  up
                                                         og Mªk u gksA
                                                         ;g CykWd LçkbV osQ isu dks uhps j•rk gS] rkfd LØhu ij pyrs gh
                                  pen  down
                                                         og Mªk gks tk,A
                                                         ;g CykWd dyj fidj (Picker) ls vkidh ilan osQ vk/kj ij isu
                             set  pen  color  to
                                                         dk jax cnyrk gSA

                                                         ;g CykWd isu dks jaxhu j•rk gS ysfdu crk, x, eku ls ml jax
                                                         dh Nk;k dks gydk ;k xgjk djrk gSA gyosQ jaxksa osQ fy, udkjkRed
                         change pen shade by    10
                                                         ekuksa dk mi;ksx djsa vkSj ;k xgjs jaxksa osQ fy, ldkjkRed ekuksa dk
                                                         mi;ksx djsaA

                                    stamp                ;g CykWd LçkbV dh Nfo dks LVs”k ij nksgjkrk gSA

                         LDok;j cukuk (Drawing a Square)
                     ,d LDok;j cukus osQ fy,] fLØIV bl çdkj gksxh %

                     LVsi 1  bosaV~l CykWd esuw ls bl CykWd  when   clicked   dks MªSx djsaA

                     LVsi 2  isu CykWd esU;w ls bl CykWd   clear  dks MªSx djsaA ;g ;fn igys ls •haph xbZ dksbZ Hkh Nfo gksxh
                             rks Li"V dj nsxkA

                                                                                                   LozSQp esa izksxzkfeax  73

| 70 71 72 73 74 75 76 77 78 79 80 |