Class sap.gantt.def.pattern.BackSlashPatternModule: sap/gantt/def/pattern/BackSlashPattern
Backslash pattern defined by a path. The stroke color and stroke width of the path can be modified with properties.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- path : string
- stroke : sap.gantt.ValueSVGPaintServer
- strokeWidth : int (default: 2)
In addition, all settings applicable to the base type sap.gantt.def.pattern.PatternBase can be used as well.
{string} | sId? | ID of the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.gantt.def.pattern.PatternBase.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
path
. Value of the d attribute in Path element. The value is affected by property tileWidth
and tileHeight
. If this value is changed by coding, the effect is not guaranteed.
{string} | Value of property path |
stroke
. Stroke color of the path element.
{sap.gantt.ValueSVGPaintServer} | Value of property stroke |
strokeWidth
. Stroke width of the path element.
Default value is 2
.
{int} | Value of property strokeWidth |
path
. Value of the d attribute in Path element. The value is affected by property tileWidth
and tileHeight
. If this value is changed by coding, the effect is not guaranteed.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sPath | New value for property path |
{sap.gantt.def.pattern.BackSlashPattern} | Reference to this in order to allow method chaining |
stroke
. Stroke color of the path element.
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.ValueSVGPaintServer} | sStroke | New value for property stroke |
{sap.gantt.def.pattern.BackSlashPattern} | Reference to this in order to allow method chaining |
strokeWidth
. Stroke width of the path element.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 2
.
{int} | iStrokeWidth | New value for property strokeWidth |
{sap.gantt.def.pattern.BackSlashPattern} | Reference to this in order to allow method chaining |