[]
Measures how an image will be drawn using the specified bounds and image alignment.
public RectangleF[] MeasureImage(IImage image, RectangleF destBounds, ImageAlign align)
Public Function MeasureImage(image As IImage, destBounds As RectangleF, align As ImageAlign) As RectangleF()
Type | Name | Description |
---|---|---|
IImage | image | The image to draw. |
RectangleF | destBounds | The destination rectangle. |
ImageAlign | align | The image alignment. |
Type | Description |
---|---|
RectangleF[] | The array of image bounds (can contain multiple rectangles if the image is tiled. |