dragengine:modules:dragonscript:xmlguitheme:borderfactory
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
dragengine:modules:dragonscript:xmlguitheme:borderfactory [2018/02/28 16:11] – [Bevel] dragonlord | dragengine:modules:dragonscript:xmlguitheme:borderfactory [2018/02/28 16:11] – [CanvasCreator] dragonlord |
---|
| |
===== Etched ===== | ===== Etched ===== |
Creates a border factory drawing an etched rectangle around the widget. Creates an instance of the [[https://dragengine.rptd.ch/docs/dragonscript/scriptapi/latest/interfaceDragengine_1_1Gui_1_1Borders_1_1Factories_1_1EtchedBorderFactory.html|EtchedBorderFactory]] script class. This border adds a size of 2 pixels around the widget. | Creates a border factory drawing an etched rectangle around the widget. Creates an instance of the [[https://dragengine.rptd.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Gui_1_1Borders_1_1Factories_1_1EtchedBorderFactory.html|EtchedBorderFactory]] script class. This border adds a size of 2 pixels around the widget. |
| |
These additional parameters compared to //Empty// type can be used: | These additional parameters compared to //Empty// type can be used: |
| |
===== CanvasCreator ===== | ===== CanvasCreator ===== |
Creates a border factory using a canvas creator. The canvas creator should not draw the center since borders are laid over the widget. Creates an instance of the [[https://dragengine.rptd.ch/docs/dragonscript/scriptapi/latest/interfaceDragengine_1_1Gui_1_1Borders_1_1Factories_1_1CanvasCreatorBorderFactory.html|CanvasCreatorBorderFactory]] script class. Make sure to always set the right //size// parameter. This parameter defines the amount of space reserved around the widget for the border to draw. Inside this area no border should draw anything since it overlays the widget unless you want special effects like an ice-like border transparently covering parts of the widget for show. | Creates a border factory using a canvas creator. The canvas creator should not draw the center since borders are laid over the widget. Creates an instance of the [[https://dragengine.rptd.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Gui_1_1Borders_1_1Factories_1_1CanvasCreatorBorderFactory.html|CanvasCreatorBorderFactory]] script class. Make sure to always set the right //size// parameter. This parameter defines the amount of space reserved around the widget for the border to draw. Inside this area no border should draw anything since it overlays the widget unless you want special effects like an ice-like border transparently covering parts of the widget for show. |
| |
These additional parameters compared to //Empty// type can be used: | These additional parameters compared to //Empty// type can be used: |
dragengine/modules/dragonscript/xmlguitheme/borderfactory.txt · Last modified: 2024/03/14 16:35 by dragonlord