StiShapeElementHelper Class

Namespace: Stimulsoft.Designer.Dashboards

Constructors

Constructor Description
constructor(IStiShapeElement shapeElement)  

constructor(shapeElement: IStiShapeElement)

Parameters

  • shapeElement (IStiShapeElement)

Methods

Method Returns Description
createShapeElement static StiComponent  
executeJSCommand void  
getShapeTypeProperty static string  
setShapeTypeProperty static void  

Method Details

createShapeElement static

createShapeElement(componentTypeArray: string): StiComponent

Parameters

  • componentTypeArray (string)

Returns StiComponent


executeJSCommand

executeJSCommand(parameters: any, callbackResult: any): void

Parameters

  • parameters (any)
  • callbackResult (any)

getShapeTypeProperty static

getShapeTypeProperty(comp: IStiShapeElement): string

Parameters

  • comp (IStiShapeElement)

Returns string


setShapeTypeProperty static

setShapeTypeProperty(comp: IStiShapeElement, propValue: any): void

Parameters

  • comp (IStiShapeElement)
  • propValue (any)