Object CanvasCtxExt (Canvas CanvasCtxExt)

The PROMOTIC system uses this object to extend the drawing functionality of the standardized object CanvasCtx. The added methods help the designer to easily create drawing algorithms in the PmiCanvas object.
- This object is functional also for Web Panels.
- This object is accessible only by the pEvent.CtxExt parameter (in PmiCanvas object on the Draw page 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 Detect whether the drawing area contains graphic content from previous drawing
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice