drGetPacket
drGetPacket(
tx_display
t_packetName
)
=> l_packetDefinition / nil
Description
Reads virtual memory and returns the definition of the specified display packet for the specified display device.
Arguments
|
tx_display
|
The display device name or identifier.
|
|
t_packetName
|
The display packet name.
|
Value Returned
|
l_packetDefinition
|
|
|
A list containing the display packet definition. The list has the following syntax:
( t_displayName t_packetName t_stippleName t_lineStyleName t_fillColor t_outlineColor t_fillStyle )
where,
-
t_displayName is the name of the display device.
-
t_packetName is the name of the display packet.
-
t_stippleName is the name of the stipple pattern.
-
t_lineStyleName is the name of the line style.
-
t_fillColor is the name of the fill color.
-
t_outlineColor is the name of the outline color.
-
t_fillStyle is the name of the fill style.
|
|
nil
|
The specified display device has no display packets associated with it or the specified display device or display packet does not exist.
|
Example
drGetPacket("display" "hardFence")
=> ("display" "hardFence" "blank" "solid" "red" "red" "outline")
Reads virtual memory and returns the definition of the display packet hardFence for the display device display; the stipple pattern is blank, the line style is solid, the fill color is red, the outline color is red, and the fill style is outline.
Return to top