Classes

Method XbpPresSpace():setAttrLine() Foundation

Sets or returns the attributes for lines drawn with GraLine().

Syntax
:setAttrLine( [<aAttributes>] ) --> aOldAttributes
Parameters
<aAttributes> := Array( GRA_AL_COUNT )
<aAttributes> is an array whose elements contain the attributes for lines drawn by graphic function in the presentation space.
#define constants for the line attribute array
Array element #define group Default value
GRA_AL_COLOR GRA_CLR_.. GRA_CLR_NEUTRAL
GRA_AL_MIXMODE GRA_FGMIX_.. GRA_FGMIX_OVERPAINT
GRA_AL_WIDTH GRA_LINEWIDTH_.. GRA_LINEWIDTH_NORMAL
GRA_AL_TYPE GRA_LINETYPE_.. GRA_LINETYPE_SOLID
Return

The :setAttrLine() method returns a copy of the current line attribute array. When new attributes are set using <aAttributes>, the method returns an array containing the previous attributes.

Description

The :setAttrLine() method determines the attributes for lines drawn in the presentation space. Lines are drawn using the functions GraLine(), GraSpline(), and GraPathOutLine(), as well as the functions GraArc() and GraBox() in certain cases.

The functional equivalent of the :setAttrLine(): method is the function GraSetAttrLine(). For more information about line attributes, see the discussion of the GraSetAttrLine() function.

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.