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) | | | Paint | g as Graphics <br> area() as Rect <br> originalSize as Size <br> ratioWidth as Double <br> ratioHeight as Double | (None) | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | AllowSizeReduction | Boolean | Nil | If False, the contained image will not be resized below its initial size. | | Backdrop | Picture | Nil | Image to display. | | DrawingMode | DrawingModes | Nil | Determines how the canvas content is drawn and positioned within the display. | | Private | As | = | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | = | | | Private | As | Nil | | | ScalePaintEvent | Boolean | Nil | When True, the Parent event will also be scaled. |