Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmiCanvas (Drawing canvas)

Description:
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 via 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 user's methods of the graphic item
Draw Drawing event onDraw for drawing into the CanvasCtx drawing area.
Canvas Properties of PmiCanvas item.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice