GraffitiSuite Docs
Docs
Graffitilayoutcanvas
Loading document parsing libraries...
# GraffitiLayoutCanvas Class Inherits GraffitiSuite.BaseCanvas ## Enumerations | Name | Value | Description | | --- | :---: | --- | | DrawingModes | ProportionalCenter <br > ProportionalCover <br > Stretch <br > Tile <br > Passthrough | Supported image drawing modes. | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Opening | (None) | (None) | (None) | | Paint | g as Graphics <br> area() as Rect <br> originalSize as Size <br> ratioWidth as Double <br> ratioHeight as Double | (None) | (None) | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | AllowSizeReduction | Boolean | (None) | If False, the contained image will not be resized below its initial size. | | Backdrop | Picture | (None) | Image to display. | | DrawingMode | DrawingModes | (None) | Determines how the canvas content is drawn and positioned within the display. | | ScalePaintEvent | Boolean | (None) | When True, the Parent event will also be scaled. |