Aimsun Next Scripting
22
|
Public Member Functions | |
GKDrawStyle () | |
Public Attributes | |
QPen | pen |
QBrush | brush |
float | penSize |
GK::SizeUnits | penSizeUnits |
float | brushOpacity |
float | penOpacity |
A draw style in a layer, when used, forces objects in that layer to be drawn in that particular way.
Note that simple objects (polyline or polygons) will follow the style and complex objects (sections, nodes) will apply only part of it. For this reason it is more useful when the layer contains decoration objects.
GKDrawStyle::GKDrawStyle | ( | ) |
QBrush GKDrawStyle::brush |
The brush to use (color and style). Default: Qt::NoBrush
float GKDrawStyle::brushOpacity |
Brush Opacity, separated from QBrush to keep different colors with the same opacity if < 0.0 is OFF.
QPen GKDrawStyle::pen |
The pen to use (color and style). Default: black with solidline.
float GKDrawStyle::penOpacity |
Pen Opacity, separated from QPen to keep different colors with the same opacity if < 0.0 is OFF.
float GKDrawStyle::penSize |
The pen size (units in the GKDrawStyle::penSizeUnits) Default: 0.
GK::SizeUnits GKDrawStyle::penSizeUnits |
The units to use in the pen size Default: GK::ePixels.