Preconfiguration "Stacking of rectangular blocks"
Creates the PmgCanvas
object configured as stacking of blocks.
This graphic object allows you to display the desired number of blocks arranged in rows on top of each other. In the variables of this graphic object it is possible to set the shape of the blocks, their number, the angle of the perspective, the number of blocks per row, the colour and the absolute width in pixels to which the desired number of blocks per row is drawn. The length of the blocks in the perspective is determined by the difference between the specified width and the actual width of the graphic object.
This preconfiguration can be activated when creating a new Pmg object
and is included in the group: "/ Chart, functions"
These configurators can be set before the preconfiguration is created:
|Object name||Name (identifier) of the Pmg object. It is used to obtain the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number.
|Total number of blocks in the stack|
|Maximum number of blocks in row|
|Length of one row (in pixels)|
|Color of the blocks|
|This object should be created wider than the "Length of one row (in pixels)". Other parameters (perspective angle -90 to +90, block dimensions, etc.) can be set in the variables of this graphic object.|