Class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygonModule: sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon

extends UbcPolygon

This shape is used to represent the background of an over capacity zone.

Graphic Effect is:

Constructor Summary
new sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon.
getFill(oData, oRowInfo)Gets the value of property fill.
getPoints(oData, oRowInfo)Gets the value of property points.
getStroke(oData, oRowInfo)Gets the value of property stroke.
getStrokeWidth(oData, oRowInfo)Gets the value of property strokeWidth.
Methods borrowed from class sap.gantt.shape.Polygon
Constructor Detail
new sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon(sId?, mSettings?)
Creates and initializes a fragment of the Utilization Line Chart.
Parameters:
{string}sId? ID for the new control, generated automatically if no ID is given
{object}mSettings? Initial settings of the new control
Method Detail
sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.gantt.shape.ext.ubc.UbcPolygon.extend.

Parameters:
{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
Returns:
{function} Created class / constructor function
sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcOverCapacityZonePolygon.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getFill(oData, oRowInfo): string
Gets the value of property fill.

Standard SVG 'fill' attribute. See SVG 1.1 specification for 'fill'. Note: You can provide fill with HTML colors and the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered by sap.gantt.GanttChartContainer, sap.gantt.GanttChartWithTable, or sap.gantt.GanttChart. The default value of 'fill' is the URL reference.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property fill.
getPoints(oData, oRowInfo): string
Gets the value of property points.

points attribute of the polygon element. See SVG 1.1 specification for the 'points' attribute of 'polygon'. The value of 'points' is calculated by the coordinates of four vertices of a visible area.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property points.
getStroke(oData, oRowInfo): string
Gets the value of property stroke.

Standard SVG 'stroke' attribute. See SVG 1.1 specification for 'stroke'. Note: You can provide stroke with HTML colors and the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered by sap.gantt.GanttChartContainer, sap.gantt.GanttChartWithTable, or sap.gantt.GanttChart.

The default value is "#CAC7BA".

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property stroke.
getStrokeWidth(oData, oRowInfo): number
Gets the value of property strokeWidth.

Standard SVG 'stroke-width' attribute. See SVG 1.1 specification for 'stroke-width'.

The default value is 0.3.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{number} Value of property strokeWidth.