|
API Documentation
|
|
|
Abstracts an image to be used within the component.
Definition: Image.h:12
IMAGE_DISPLAY_METHOD
The available image display methods.
Definition: ImageDisplay.h:12
virtual void importClassFromTree(nkExport::Node *rootNode) override
IMAGE_DISPLAY_METHOD getDisplayMethod() const
static nkMemory::UniquePtr< ImageDisplay > create(System *system=nullptr)
virtual void setImage(Image *value)
Base class for any graphical component.
Definition: Component.h:12
The main system of the component.
Definition: System.h:18
ImageDisplay(System *system) noexcept
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
virtual void exportIntrospection(nkExport::Node *rootNode) override
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
@ STRETCH
Will stretch to image to fit the component's size.
Allows to display an image in the Ui.
Definition: ImageDisplay.h:21
@ KEEP_RATIO
Will keep the image's ratio and dimensions to display within the component.
virtual void setDisplayMethod(IMAGE_DISPLAY_METHOD value)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7