|
Archicad 29 C++ API
|
Pen attribute representation. More...
#include <APIdefs_Environment.h>
Public Attributes | |
| short | index |
| index of the pen. 1..255 | |
| UInt64 | modiTime |
| modification time of the pen. | |
| API_RGBColor | rgb |
| Color of the pen. | |
| double | width |
| Thickness of the pen defined in paper millimeters. | |
| char | description [128] |
| Textual description of the pen; doesn't have to be unique, and can be empty. | |
Pen attribute representation.
The index of Pen attributes normally must be between 1 and 255, but there are some special values:
| Index | Meaning |
|---|---|
APIPen_Transparent (= 0) | Transparent pen. Fill backgrounds having this pen index are drawn transparently. |
APIPen_WindowBackground (= -1) | Background pen. Fill backgrounds having this pen index are drawn with the current window background color. |
| 1000 | Grid color pen. Pen index for drawing the grid |
| 1001 | Zone fill color. This is the foreground color of a zone's fill; coming from the zone category; use the rgb value of the pen |
| 1002 | Ghost Story color. Pen index used for drawing ghost story elements |