Drag[en]gine Script Module DragonScript
1.23
|
Border size value element class property for use with XML loading. More...
Public Member Functions | |
void | copyValue (ElementClass elementClass, ElementClassProperty property) |
Copy value from another element class property of the same type. More... | |
BorderSize | getBorderSize () |
Value. More... | |
BorderSize | getBorderSize (StubWithProperties stub, CodecPropertyString codec) |
Border size modified by stub property if present. More... | |
ECPBorderSize | new (String name, BorderSize value) |
Create property. More... | |
void | setBorderSize (BorderSize area) |
Set value. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
Border size value element class property for use with XML loading.
void Dragengine.Scenery.ECPBorderSize.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
BorderSize Dragengine.Scenery.ECPBorderSize.getBorderSize | ( | ) |
Value.
BorderSize Dragengine.Scenery.ECPBorderSize.getBorderSize | ( | StubWithProperties | stub, |
CodecPropertyString | codec | ||
) |
Border size modified by stub property if present.
If named stub property is not present or empty string the stored border size is returned. If the named stub property is present it is decoded using codec.
The following property value formats are understood where "size", "left", "top", "right" and "bottom" are positive integer values including 0:
ECPBorderSize Dragengine.Scenery.ECPBorderSize.new | ( | String | name, |
BorderSize | value | ||
) |
Create property.
void Dragengine.Scenery.ECPBorderSize.setBorderSize | ( | BorderSize | area | ) |
Set value.
void Dragengine.Scenery.ECPBorderSize.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.