Promotic

Object CanvasCtxExt (Canvas CanvasCtxExt object)

Description:
The PROMOTIC system uses this object to extend the drawing functionality of the standardized CanvasCtx object. The added methods help the designer to easily create drawing algorithms in the PmgCanvas object.
- This object is functional also in Web panels.
- This object is accessible only by the pEvent.CtxExt parameter (in the PmgCanvas object on the "Draw" tab in the onDraw event and in assistant methods).


The CanvasCtx object is standartized and independent on the PROMOTIC system. The PROMOTIC system introduced its own CanvasCtxExt object (Ext = Extension) that extends the functionality of the drawing for easier and wider use.
Properties and methods:
prepareDrawRect()Makes transformation that shifts, rotates and flips the defined rectangle
isReset()Detects whether the drawing area contains graphic content from previous drawing

History:
Pm8.03.04: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.