Method XbpPresSpace():setAttrArea() Foundation

Sets or returns the attributes for areas drawn by GraArc() and GraBox().

Syntax
:setAttrArea( [<aAttributes>] ) --> aOldAttributes
Parameters
<aAttributes> := Array( GRA_AA_COUNT )
<aAttributes> is an array whose elements contain the attributes for areas drawn by the GraArc() and GraBox()functions.
#define constants for the area attribute array
Array element #define | Value Default value
GRA_AA_COLOR GRA_CLR_.. GRA_CLR_NEUTRAL
GRA_AA_BACKCOLOR GRA_CLR_.. GRA_CLR_BACKGROUND
GRA_AA_MIXMODE GRA_FGMIX_.. GRA_FGMIX_OVERPAINT
GRA_AA_BGMIXMODE GRA_BGMIX_.. GRA_BGMIX_LEAVEALONE
GRA_AA_SYMBOL GRA_SYM_.. GRA_SYM_SOLID
GRA_AA_REFPOINT { nX, nY } { 0, 0 }
Return

The :setAttrArea() method returns an array that is a copy of the current area attributes. If new attributes are specified using the <aAttributes> parameter, this method returns an array containing the previously set attributes.

Description

The :setAttrArea() method determines the attributes for areas drawn in the presentation space. Areas are drawn using the functions GraArc(), GraBox(), and GraPathFill().

The function GraSetAttrArea() is the functional equivalent of the method :setAttrArea(). More information about area attributes can be found in the discussion of GraSetAttrArea().

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.