Regular visitors to Digiguide.tv will notice that you now require a subscription to use some of the features.
However, you can give the FREE 7 day trial version of Digiguide.tv Premium a try. Build up your profile with programmes that you like, personalise your grid and set some reminders. Remember, to get a year's worth of personalised TV content for less than 1p per day simply subscribe to Digiguide Premium
If you don't specify the bottom/right then the image will be drawn using it's default size. By specifiying the bottom/right you can stretch or shrink the drawn image.
For most images
frame will be 0.
Parameters
Parameter
Description
Integer frame
The frame you want to draw
DrawContext dc
The drawing canvas to draw onto
Integer left
The upper-left position to begin drawing
Integer top
The upper-left position to begin drawing
Integer right [optional]
The lower-right position to stop drawing
Integer bottom [optional]
The lower-right position to stop drawing
Examples
// // adjust the size so it doesn't spill out, and also keep aspect ratio of the image var rcLocal = new Rect( rc ); var divisor = image.getSize().cx / rcLocal.height(); rcLocal.setWidth( image.getSize().cy / divisor ); image.draw( 0, dc, rcLocal );