0 Replies Latest reply on Nov 9, 2009 10:49 AM by chupppante

    Programmatic Borders

    chupppante

      Does anyone have any sample code they can post that actually draws a border around a gradient fill programmaticaly? 

       

      Looking through the docs, I'm able to extend the RectangularBorder class and call the drawroundrect method and succesfully have it fill the gradient, however I can't get it to draw the border.  The docs say that this method will stroke the sides with the current linestyle set on graphics.  I've tried everything and can't get this to work.  I have overridden get borderMetrics, updatedisplay list, pretty much everything I can think of.  Does this method really not stroke the border with the linestyle?  Any sample code would be appreciated.

       

      thanks