Class sap.gantt.shape.ext.PentangleModule: sap/gantt/shape/ext/Pentangle
Pentangle shape class using SVG tag 'polygon'. It's usually treated as a transient shape.
See SVG specification 1.1 for the 'polygon' element for detail information of the html tag.
Following SVG image shows how the properties are designed:
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:
{string} | sId? | ID of the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings of the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in Object.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 |
d
. points attribute of the polygon element. See SVG 1.1 specification for 'points' attribute of 'polygon'.
Your application should not configure this value. Instead, the getter calculates the value of d by using properties radius
and radus2
. The value of these properties can be retrieved using the corresponding getters (getRadius and getRadius2). If your application overwrites the value of d by configuration or code, accurate results cannot be guaranteed.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and row data. |
{string} | Value of property points . |
radius
. Radius of a pentangle shape.
This property influences property points
.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and row data. |
{number} | Value of property radius . |
radius2
. The second radius of a pentangle shape. If this property is not provided, radius2 is set to a value making radius and radius2 fit the golden ratio.
This property influences property points
.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and row data. |
{number} | Value of property radius2 . |
radius
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 10
.
{number} | sRadius | New value for property radius |
{sap.gantt.shape.ext.Pentangle} | Reference to this in order to allow method chaining |
radius2
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is undefined
.
{number} | sRadius2 | New value for property radius2 |
{sap.gantt.shape.ext.Pentangle} | Reference to this in order to allow method chaining |