Stefan Mettenbrink <[email protected]> wrote:

> Nutzt jemand die Eigenschaft Mask eines Picture?

Probier mal sowas:

  dim p as Picture
  
  p=NewPicture(300,300,32)
  
  // alles bunt färben
  p.Graphics.ForeColor=rgb(rnd*256,rnd*256,rnd*256)
  p.Graphics.FillRect 0,0,300,300
  
  // alles durchsichtig
  p.mask.Graphics.ForeColor=&cFFFFFF
  p.mask.Graphics.Fillrect 0,0,300,300
  
  // Kreis sichtbar
  p.mask.Graphics.ForeColor=&c000000
  p.mask.Graphics.FillOval 0,0,300,300
  
  Backdrop=p

in einem Fenster.

Gruß
Christian

-- 
Over 1100 classes with 22000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.6. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>

Antwort per Email an