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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dragengine:modules:dragonscript:xmlguitheme:borderfactory [2018/02/28 16:11] – [Bevel] dragonlorddragengine:modules:dragonscript:xmlguitheme:borderfactory [2018/02/28 16:11] – [CanvasCreator] dragonlord
Line 65: Line 65:
  
 ===== 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:
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: 2024/03/14 16:35 by dragonlord