![]() |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When you are drawing an image into a Canvas ImageGlue assumes that you want to draw the whole of that image. But sometimes you may want to draw only a small part of the image. You can use this parameter to specify the part of the image you would like drawn. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here we draw an image that has been cropped of 10 pixels on every side. We assume the image is bigger than 20x20. Note that when auto-sizing the Canvas, we use the image bounding box, not the image selection. So the Canvas is bigger than what is actually drawn. Set the desired Canvas size manually if this is not what you want. [C#]
[Visual Basic]
|