The Graphic Object
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
The Graphic Object
5 out of 5 stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Main Characteristics of Graphic Objects
Graphic form fields are commonly used for constructing diagrams. A variety of graphic types are supported, including both closed figures and lines. The closed figure graphics are “rectangle”, “rounded rectangle”, “ellipse” and “diamond”. Horizontal and vertical lines are also supported.
Graphic Object Attributes
– Identification
Attribute Name | Default Value | Description |
Field Type | – | The type of this form field or of this user interface object. (Read-only). |
Field Name | variable | A string that identifies this form field within the Zim application; Automatically assigned by the Zim IDE when a new form field is created; May be changed by the developer, but must always conform to the Zim Object Naming Rules and satisfy the Zim Object Uniqueness Conditions. |
Directory | ZIM | The directory that owns the parent form of this form field (Read-only). |
Form Name | – | A string that identifies the parent form of this form field (Read-only). |
– Appearance
Attribute Name | Default Value | Description |
Location | – | The location (in pixels) of this form field in relation to the top-left corner of its parent form or parent container. |
X | – | The horizontal location of this form field. |
Y | – | The vertical location of this form field. |
Reverse Video | False | True → The text will appear in white on a black background; False → The text will appear in black on a white background; |
Size | – | The size of this form field in pixels. |
Width | – | The width of this form field. |
Height | – | The height of this form field. |
Visible | True | True → This form field will be visible by default. |
– Colors
Attribute Name | Default Value | Description |
Background Color | variable | The background color of the form field, container or user interface object in R(ed) G(reen) B(lue) values; |
Foreground Color | variable | The foreground color of the form field, container or user interface object in R(ed) G(reen) B(lue) values. |
Inherit Background Color | variable | True → The form field or container will inherit the background color of its parent container or parent form object. |
Inherit Foreground Color | variable | True → The form field or container will inherit the foreground color of its parent container or parent form object. |
– Style
Attribute Name | Default Value | Description |
Graphic Style | Horizontal | The shape of this graphic object: Horizontal → Horizontal line; Vertical → Vertical line; Rectangle → Rectangle (includes square); Ellipse → Ellipse (includes circle); Diamond → Diamond. |
Line Width | 1 | The line width in points. Hairline → The line width will be always one pixel wide. |
Updated
ByJason Lee
Was this article helpful?
5 out of 5 stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5