Abstract Class sap.gantt.def.pattern.SlashPatternModule: sap/gantt/def/pattern/SlashPattern
Slash pattern defined by a path. Stroke color and stroke width of the path can be changed by corresponding 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 for 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 d attribute in Path element. The value is influenced by property tileWidth
and tileHeight
. If this value is changed by coding, the logic cannot be 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 d attribute in Path element. The value is influenced by property tileWidth
and tileHeight
. If this value is changed by coding, the logic cannot be 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.SlashPattern} | 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.SlashPattern} | 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.SlashPattern} | Reference to this in order to allow method chaining |