New topic: 

used the CurveShape

<http://forums.realsoftware.com/viewtopic.php?t=47349>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        alexandersazu          Post subject: used the CurveShapePosted: 
Wed Mar 20, 2013 11:37 am                         
Joined: Wed Oct 24, 2012 2:15 pm
Posts: 4                I'm used curveShape and i want to add text .
How can do it?


dim c as new CurveShape
  
  c.ControlX(0) = 40
  c.ControlY(0) = 0
  
  c.Order = 2
  c.x = 0
  c.y = 0
  c.X2 = tox - fromx - 1
  c.Y2 = toy - fromy
  
  c.ControlX(1) = c.x2 - 40
  c.ControlY(1) = c.Y2
  
  c.Border = 100
  c.Segments = 10
  c.BorderColor = borderColor
  c.BorderWidth = 4
  
  g.DrawObject c, fromx + 1, fromy
 
  c.BorderColor = fillColor
  c.BorderWidth = 2
  
  g.DrawObject c, fromx + 1, fromy   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to