-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.Image
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
3 revisions
Base widget to display an image. Accepts bitmaps and SVGs.
namespace: Crow
Image
public class Image : Scalable
⬜ | prototype | description |
---|---|---|
![]() |
Image (Interface iface) |
Initializes a new instance of the Crow.Image class from code |
⬜ | name | description |
---|---|---|
![]() |
KeepProportions |
If image is scaled, proportions will be preserved. |
![]() |
Opacity |
Opacity parameter for the image |
![]() |
Path |
Image file path, may be on disk or embedded. Accepts bitmaps or SVG drawings. |
![]() |
Picture |
Object holding the image data once loaded, may be used directely to pupulate this control without specifying a path. |
![]() |
Scaled |
If false, original size will be kept in any case. |
![]() |
SvgSub |
Used only for svg images, repaint only node named referenced in SvgSub. If null, all the svg is rendered |
⬜ | prototype | description |
---|---|---|
![]() |
void LoadImage(string path) |
__ |
![]() |
int measureRawSize(LayoutingType lt) |
return size of content + margins |
⬜ | name | description |
---|