Object PmiCanvas (Drawing canvas)

See: PmiCanvas - Deatiled object description
The PmiCanvas graphic item allows to draw both veri simple and complex animated shapes in 2D graphics. The drawing is controlled by script (JavaScript) in the onDraw event and by using the methods and properties of the CanvasCtx drawing area (eventually by extension object CanvasCtxExt). It allows to draw simple images (e.g. icons), but also complex animated graphics (animated meters, etc.).
This object adopts properties and methods of object PmiItem.
Properties and methods:
CtxReset Set CanvasCtx into non-initialized empty state
Configuration windows:
Object General information about the object
Content Content of the graphic item in the XML form
Position Setting the position, width and height of the item
Subitems It is used for creating compound items
Variables List and configuration of user defined item variables
Events Algorithms definition for the object events
Methods Definition of designer's methods in the graphic item
Draw Drawing event onDraw for drawing into the CanvasCtx drawing area.
Canvas Properties of PmiCanvas item.
PROMOTIC 8.3.30 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice