User Tools

Site Tools


dragengine:modules:dragonscript:xmlguitheme:borderfactory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dragengine:modules:dragonscript:xmlguitheme:borderfactory [2018/02/28 16:11]
dragonlord [Etched]
dragengine:modules:dragonscript:xmlguitheme:borderfactory [2018/02/28 16:11] (current)
dragonlord [CanvasCreator]
Line 74: Line 74:
  
 ===== 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: 2018/02/28 16:11 by dragonlord