Method XbpPresSpace():setAttrMarker() Foundation

Sets or returns the attributes for markers drawn by GraMarker().

Syntax
:setAttrMarker( [<aAttributes>] ) --> aOldAttributes
Parameters
<aAttributes> := Array( GRA_AM_COUNT )
<aAttributes> is an array whose elements contain the attributes for markers drawn by the function GraMarker().
#define constants for the attribute array used for GraMarker()
Array element #define | Value Default value
GRA_AM_COLOR GRA_CLR_.. GRA_CLR_NEUTRAL
GRA_AM_BACKCOLOR GRA_CLR_.. GRA_CLR_BACKGROUND
GRA_AM_MIXMODE GRA_FGMIX_.. GRA_FGMIX_OVERPAINT
GRA_AM_BGMIXMODE GRA_BGMIX_.. GRA_BGMIX_LEAVEALONE
GRA_AM_SYMBOL GRA_MARKSYM_.. GRA_MARKSYM_CROSS
GRA_AM_BOX { nXsize, nYsize } Dependent on output device
Return

The :setAttrMarker() method returns an array containing a copy of the current marker attributes. When new attributes are set using the <aAttributes> parameter, this method returns an array containing the previously set attributes.

Description

The :setAttrMarker() method determines the attributes for markers drawn in the presentation space. Markers are drawn using the function GraMarker().

The functional equivalent of the :setAttrMarker() method is the GraSetAttrMarker() function. More information about marker attributes can be found in the discussion of GraSetAttrMarker().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.