PNG, GIF, JPEG, SWF at run time and
PNG, GIF, JPEG, SWF, SVG at compile time
Showing posts with label run time. Show all posts
Showing posts with label run time. Show all posts
What is the problem with calling setStyle()?
When we are instantiating an object and setting the styles for the first time, we should try to apply style sheets rather than use the setStyle() method because it is computationally expensive. This method should only be used when we are changing an object's styles during run time.
Subscribe to:
Posts (Atom)
