new sap.gantt.shape.Path(sId?, mSettings?)Creates and initializes a new Path class.
Method Summary
sap.gantt.shape.Path.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.Path with name 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.
d attribute of path element. See SVG 1.1 specification for 'd' attribute of 'path'. The 'd' attribute has very powerful grammar. See BNF grammar for more information. Rich extension of paths is provided in namespace sap.gantt.shape.ext. This shape provides a default implementation of the d attribute:
Parameters:
{object}
oData
Shape data.
{object}
oRowInfo
Information about the row and the row data.
Returns:
{string}
Value of property d.
getFill(): string
Gets current value of property fill.
Default value is none.
Returns:
{string}
Value of property fill
getIsClosed(oData, oRowInfo): boolean
Gets the value of property isClosed.
When this value is true, the 'fill' attribute is applied. Otherwise, the 'fill' attribute is none.
Parameters:
{object}
oData
Shape data.
{object}
oRowInfo
Information about the row and the row data.
Returns:
{boolean}
Value of property isClosed.
getTag(oData, oRowInfo): string
Gets the value of property tag.
SVG tag name of the shape. See SVG 1.1 specification for shapes. Note: We do not recommend that you change this value using a configuration or coding.